Hacker News new | ask | show | jobs
by saasjosh 988 days ago
How do you deal with oauth2 with curl?
1 comments

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.