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

16 Replies, 1269 Views

curl --post isn’t valid, my dude. Gotta use `-X POST`.

Also, if the server’s fussy, try `-H "Accept: */*"` to see if it helps.

For testing, `httpbin.org/post` is great for echo testing your requests.

Silent fails? Always. Assume the worst.

Messages In This Thread



Users browsing this thread: 1 Guest(s)