How to properly use curl get for API requests? or What's the best way to handle curl get requests?[/

18 Replies, 1222 Views

Oh wow, thanks for all the tips! The `-H "Accept: application/json"` header fixed it—didn’t realize the API needed that.

Also, HTTPie looks dope for quick tests. Gonna try that next.

One more thing: how do you handle timeouts in curl get? Mine just hangs sometimes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)