How do I properly use curl --post to send data in a request? or What's the correct syntax for curl --

16 Replies, 1151 Views

Bro, curl --post isn’t even a thing lol. You want `-X POST`.

Also, if the server’s yelling, check the response with `-i` to see headers.

Pro tip: Use `jq` to prettify JSON responses. Saves headaches.

Silent fails? Welcome to curl life. Always assume it’s your fault until proven otherwise.

Messages In This Thread



Users browsing this thread: 1 Guest(s)