OP here—thanks for all the tips! Tried the `-v` flag and saw a 400 error. Turns out the server was expecting `Content-Type: text/json` (weird, right?).
Also, the `jq` trick worked like a charm for escaping. One last Q: how do I handle nested JSON in curl post data without it becoming a mess?
(And yeah, httpie looks dope—gonna try that next.)
Also, the `jq` trick worked like a charm for escaping. One last Q: how do I handle nested JSON in curl post data without it becoming a mess?
(And yeah, httpie looks dope—gonna try that next.)
