How to use curl post give input from file in a request? or What's the correct way to curl post give i

18 Replies, 1424 Views

Thanks for all the suggestions, folks! Tried the `-H "Content-Type: application/json"` trick, and it worked! Still getting a 400 error though—might be the JSON structure.

Gonna run it through `jq` like someone suggested.

Also, httpie looks cool—might switch for future stuff. Appreciate the help!

Messages In This Thread



Users browsing this thread: 1 Guest(s)