News for hackers. Stuff that matters.
Re:Ask HN: Developers, do you use Postman for API testing? by gregjor on Thursday September 28, 2023 @09:47PM (#37698352)
curl
Re:Ask HN: Developers, do you use Postman for API testing? by _thinx on Thursday September 28, 2023 @09:52PM (#37698388)
me too! or, you can give httpie [1] a try

[1] https://httpie.io

Re:Ask HN: Developers, do you use Postman for API testing? by saasjosh on Friday September 29, 2023 @03:43AM (#37700504)
How do you deal with oauth2 with curl?
Re:Ask HN: Developers, do you use Postman for API testing? by gregjor on Friday September 29, 2023 @05:39AM (#37701313)
Google for “curl oauth2” for lots of helpful explanations and examples.
Re:Ask HN: Developers, do you use Postman for API testing? by saasjosh on Friday September 29, 2023 @12:21PM (#37706449)
It's not as straightforward as something like Insomnia because you have to write a script that will open a browser and pull the tokens from there.
Re:Ask HN: Developers, do you use Postman for API testing? by gregjor on Friday September 29, 2023 @08:45PM (#37711816)
That depends. If you can use the command line and write a short script that’s just copy/paste from StackOverflow, curl is very simple.