Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gregjor
· 3y ago · 0 comments
curl
Comments
[–]
_thinx
3y ago
me too! or, you can give httpie [1] a try
[1]
https://httpie.io
[–]
saasjosh
3y ago
How do you deal with oauth2 with curl?
[–]
gregjor
OP
3y ago
Google for “curl oauth2” for lots of helpful explanations and examples.
[–]
saasjosh
3y ago
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.
[–]
gregjor
OP
3y ago
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.