Hacker News new | ask | show | jobs
by gregjor 989 days ago
curl
2 comments

me too! or, you can give httpie [1] a try

[1] https://httpie.io

How do you deal with oauth2 with curl?
Google for “curl oauth2” for lots of helpful explanations and examples.
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.
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.