How do I use curl to make a request? Need help with the syntax! or What's the correct way to curl mak

15 Replies, 1070 Views

Dude, curl make request can be finicky. Your syntax looks fine, but maybe the API needs an auth header? Like:
`-H "Authorization: Bearer your_token"`

For POST, ensure your JSON is valid—use `jsonlint.com` to check.

Also, if you’re on Windows, escape quotes with `\"` instead of single quotes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)