Posted by sidgarimella 1 day ago
It's an in-browser equivalent of Postman.
I much prefer the approach of being able to use the browser for things like this. It feels much more lightweight than installing a piece of desktop software.
I’ve been thinking of replacing postman with a clojure project, where you just send stuff to the REPL to call it. You could even set up a little dependency map, so your calls would have built-in behavior like “if the token is expired, grab a new one with user/pass”. And it would be trivial to script endpoint calls together.
If anybody has done something similar, I’d love some tips or ideas
What can go wrong by uploading your things, if you had any passwords or users there that "pinky promise" will not be uploaded, then running AI and maybe oops have a leak and now someone is hitting your production servers?
The biggest "Oh my god, this is so much easier" moment was just setting up a tiny JS script onto the login API to stash the bearer token from the return response into a variable, and then propagate it into the header of all subsequent calls. Trying to script THAT in Bash (parsing the bearer token from the return response) was also a headache and never worked 100% for me.
Although that was me trying to do it manually. I'm sure a vibe-coded solution would probably work well enough these days.
Personally I use a wrapper cli I built myself over curl which automatically gets api docs of my product and easily get the token so its great for agents
As a .NET developer I had been using LinqPad for years, and just kept a set of template scripts for the various rote web-call scripts I might need to do e.x. XML or JSON, Auth handling, etc.
(For the non .NET folks, LinqPad is a simple application that lets you write small script-esque bits of C#/F#/VB.NET and has a wonderful little `.Dump()` method that can pretty-print just about any object to it's output window, and even export that output window to Excel/HTML which is nice for some tasks.)
Nice to see the leaner alternatives people are suggesting here.
I didn't need another reason not to use Postman, but I'll take it. Shame on them for moving in shadows.
Now it is some kind of incomprehensible thing that requires me to log in and create a 'collection' or whatever it was when I just wanted to make a simple call to some api to see what it does.
Like.. wtf. Why did they need to turn it into some monstrosity?
Sannr is an API platform built for coding agents that builds API context over time.
silently installing ai plugins and recording data is really not cool