I use milkman
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
As a lot of other comments have already suggested, HTTP Toolkit is a good alternative and I used it quite a bit prior to discovering Postman..
xh and tiny shell scripts.
Example: sign-up-forbidden-username.req
#!/bin/bash
xh POST http://0.0.0.0:2884/sign-up usename=admin password=pw
to run ./sign-up-forbidden-username.req
This returns 403 and "Username is unavailable"
xh is a rust implementation of httpie. They're going for full parity, and works really well for what I need it for so far You can also read input from a file. Which IMO makes GUI API testing seem silly.
I would use swagger in some instance tbh
Insomnia used to be good, but it's WebKit, so really heavy to run, it crashed my PC several times