daniebeler, to opensource
@daniebeler@techhub.social avatar

If you are looking for an alternative to Postman take a look at Bruno.

Bruno does basically the same thing as Postman, but the app is offline-only meaning all your API Requests are stored in config files on your computer. That makes it for example very easy to share whole collections of API-requests on Github.

Plus you don't need an account and the app is open source.

https://www.usebruno.com/

joe, (edited ) to programming

Yesterday, we played with Llama 3 using the Ollama CLI client (or REPL). Today I figured that we would play with it using the Ollama API. The Ollama API is documented on their Github repo. Ollama has a client that runs when you run ollama run llama3 and a service that can be accessed from something like MindMac, Amallo, or Enchanted. The service is what starts when you run ollama serve.

In our first Llama 3 post, we asked the model for “a comma-delimited list of cities in Wisconsin with a population over 100,000 people”. Using Postman and the completion API endpoint, you can ask the same thing.

https://i0.wp.com/jws.news/wp-content/uploads/2024/04/Screenshot-2024-04-20-at-1.30.48%E2%80%AFPM.png?resize=1024%2C811&ssl=1

You will notice the stream parameter is set to false in the body. If the value is false, the response will be returned as a single response object, rather than a stream of objects. If you are using the API with a web application, you will want to ask the model for the answer as JSON and you will probably want to provide an example of how you want the answer formatted.

https://i0.wp.com/jws.news/wp-content/uploads/2024/04/Screenshot-2024-04-20-at-1.45.15%E2%80%AFPM.png?resize=1024%2C811&ssl=1

You can use Node and Node-fetch to do the same thing.

If you run it from the terminal, it will look like this:

https://i0.wp.com/jws.news/wp-content/uploads/2024/04/Screenshot-2024-04-20-at-2.01.19%E2%80%AFPM.png?resize=1024%2C932&ssl=1

Have any questions, comments, etc? Please feel free to drop a comment, below.

https://jws.news/2024/lets-play-more-with-llama-3/

orhun, to rust
@orhun@fosstodon.org avatar

No more Postman! This TUI API client goes crazy 🔥

📡 atac: A simple API client in your terminal.

🚀 Supports importing collections from Postman.
🔓 Free, account-less, and offline.
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/Julien-cpsn/ATAC

#rustlang #tui #ratatui #http #client #api #postman #terminal

video/mp4

andy47, to random
@andy47@aus.social avatar

Dear lazyweb, I struggle with Postman for testing APIs (for various reasons, not least the cloud bias) and see that there are a huge range of newer alternatives, any suggestions for a simple, straightforward, non-cloud app for testing REST APIs?

mathdatech1, to foss French
@mathdatech1@hostux.social avatar

Bruno is a Fast and Git-Friendly Opensource API client, aimed at revolutionizing the status quo represented by Postman, Insomnia and similar tools out there.
https://www.usebruno.com/

image/png

voltagex, to python
@voltagex@aus.social avatar

Teach your developers about and (and probably ). Otherwise they will end up using "tools" such as "post man" and "thunder client"

madargon,
@madargon@is-a.cat avatar

@voltagex screaming internally it seems to share big part with "GUI is always easier and more convenient attitude".

I had to test collections written by someone else. First I tried wit . Typed command, options, these are variables, these are data files... Cool, everything worked as intended.

For debugging minor issue difficult to catch I thought I should try with real Postman later. Constant errors, some variable not accessible, bad requests, something burried in some menu not set... (All when actively avoiding creating their stupid cloud account)

Why the hell most people say GUI is the best option?! :blobcat_sobbing:

nurkiewicz, (edited ) to random
@nurkiewicz@fosstodon.org avatar

Am I the only one still preferring , and over desktop tools like ? Findings like that aren't helpful: https://www.leeholmes.com/security-risks-of-postman/

mogwailabs_gmbh, to security

Last May, the populare API tool Postman pivoted to be a cloud-only product for many of its features. This might have a serious security impact as developers often store high privileged access tokens there, in some cases they might even be exposed through the Postman API search features.

We did a quick check for some of our customers and already discovered some valid tokens.

Check out @Lee_Holmes blog post on this. Also kudos to @wdormann for pointing this out first (at leat to our knowledge).

array, to random
@array@fosstodon.org avatar

I opened today and my collections and stuff were nowhere to be found and a message saying don't worry, just login into yada yada. Excuse me but I thought I had a local app to do local development? Ah OK, a short 'net search later came with an Insomnia fork (which, BTW, apparently came into play when those did the same move Postman is doing now), and hey, an Appimage ready to use, so hello, . It's FOSS, works great, no logins. Now that I'm here: thanks to their devs. :)

joe, to ai
@joe@toot.works avatar

I followed https://www.youtube.com/watch?v=Kg588OVYTiw to try to get Llama 2 working locally with Llama.cpp but no luck. 😒

Does anyone know how to fix it? I do have llama-2-13b-chat.ggmlv3.q4_0.bin downloaded into the root of the app.

joe,
@joe@toot.works avatar
jimmyb, to selfhosted
@jimmyb@selfhosted.cafe avatar

I think I finally got my copy of Hoppscotch up and running! No more relying on !

https://github.com/hoppscotch/hoppscotch

andreagrandi, to random
@andreagrandi@mastodon.social avatar

I see are forcing everyone to login and store stuff in their cloud, while not offering a safe method to store secrets.

Does anyone know a better alternative?

andreagrandi,
@andreagrandi@mastodon.social avatar

@brunns @ptl @renchap @skrrp @rossgrady a question for those who suggested

First of all thank you all for the suggestions 🙏🏻

In I had this settings to request a new OAuth 2.0 token to my API and automatically use it in every API call. How do I get the same with Bruno?

Thanks

zorg_the_blue, to infosec

Anyone use Postman?

What is up with them forcing people to push their information to their servers through the Scratchpad deprecation? This seems totally uncalled for to not support a local development option and require synchronization to external storage.

Time to search for a new product.

jimmyb, to linux
@jimmyb@selfhosted.cafe avatar

Working on rebuilding my instance. It's still a bit confusing but hopefully I can get it working. It would be nice to ditch .

dev_m, to random

Tell HN: Postman update removes all your stuff if you refuse to create account (🔥 Score: 160+ in 2 hours)
🤬

Link: https://readhacker.news/c/5Rdfu

masyukun, to Sleeping

The latest version of wants SSO login -- umm, this is why I switched away from

psy, to random
@psy@social.troll.academy avatar

Nach Postman will nun auch Insomnia einen Login und Daten in der Cloud speichern. Also mal wieder ein neues Tool suchen. Hrmpf.

Was nutzt ihr denn so um APIs zu (pen-)testen?

janriemer,

@psy Probier doch mal hoppscotch (ehemals postwoman) 😉

https://github.com/hoppscotch/hoppscotch

dada, to opensource French
@dada@diaspodon.fr avatar

Guide d'openwashing : comment passer d'un projet opensource à un logiciel bridé et privateur ? - https://linuxfr.org/users/minimock/journaux/guide-d-openwashing-comment-passer-d-un-projet-opensource-a-un-logiciel-bride-et-privateur

Et toi, tu en penses quoi ?

box464, to random
@box464@mastodon.social avatar

This may have been around for awhile, but I just found that Postman has an AI code generator that can assist with making visualizations of API responses, including Mastodon search results.

TomSellers, to security

Roughly 2 weeks ago Google patched a critical vulnerability, CVE-2023-4863, that was being exploited in the wild. The broad impact of the root cause of the vuln and the fact that it will have a long tail of unpatched software has been poorly communicated. You can read more in @dangoodin 's excellent article on Ars Technica.

As pointed out in the article above, Electron is based on Chromium and is impacted. Electron is bundled in a ton of apps that people might overlook.

I threw together the following shell command to help macOS audit which versions of Electron apps are installed.

find /Applications -type f -name "*Electron Framework*" -exec <br></br>  sh -c "echo  "{}" && strings "{}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | head -n1 && echo " ;<br></br>

When run, you should see something similar to the following:

/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework<br></br>Chrome/114.0.5735.289 Electron/25.8.1<br></br><br></br>/Applications/Slack.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework<br></br>Chrome/116.0.5845.188 Electron/26.2.1<br></br>

-2023-4863

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@delfuego @TomSellers @electronjs After using the above command and pulling down any available updates, I still have the following vulnerable -based apps on my :

for (Electron v18.3.15)
(21.2.0)
Direct (16.2.2)
(22.1.0)
Logi Options+ (23.1.1)
(24.6.3)
(18.3.5) @getpostman
Desktop (20.3.8)
Teams (19.1.8)
(13.6.9)

AstraKernel, to programming

✨ Better Alternative to apart from Thunder Client in vscode

🐶 Bruno - Opensource IDE for exploring and testing APIs

👉 It is lightweight with MIT license 😊

👏 Bruno stores your collections directly in a folder on your filesystem

https://usebruno.com

tj, to random
@tj@piaille.fr avatar

Postman enshittified.

mburr, to mastodon

How do I run a simple, comprehensible instance? I'm not crazy about setting up and installing the usual server. I have simple needs and want to experiment with my own instance.

It would be great if such were written in . But I can hold my nose and use a different modern compiled language.

I do know how to search the web. I do! But it's easy accidentally to waste time on something hopeless.

I'll happily be the only user and tolerate jankiness.

mburr,

Thank you thread. [How do notifications work here? Ding!]

Big success with ! server runs. plumbed up. Runs. No complaints.

I'm doing all this on for reasons.

Got started on --> Sudden ! The solutions have nothing to do with Lemmy.

If I'm resourceful, determined and patient, in what other ways might I interact or communicate with lemmy_server?

Like an iPhone app? Or a script? I already have a vpn to the host system.

heiglandreas, to random
@heiglandreas@phpc.social avatar

To be quite honest: I'm falling in love with

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • thenastyranch
  • Durango
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • cisconetworking
  • Youngstown
  • mdbf
  • slotface
  • osvaldo12
  • GTA5RPClips
  • kavyap
  • megavids
  • InstantRegret
  • everett
  • cubers
  • vwfavf
  • normalnudes
  • tacticalgear
  • tester
  • ethstaker
  • khanakhh
  • modclub
  • Leos
  • anitta
  • JUstTest
  • All magazines