How to properly use curl for sending JSON data? or Having trouble with curl sending JSON? Any tips?[

14 Replies, 1006 Views

Wow, thanks everyone! Didn’t realize the header was non-negotiable lol. Tried adding `Content-Type: application/json` and it worked!

But now the API’s complaining about "invalid key" – could it be a backend issue? Also, gonna try the `@file` trick next time.

Btw, `jq` looks awesome, definitely installing that. Appreciate the help!

Messages In This Thread



Users browsing this thread: 1 Guest(s)