How to curl with data – what's the best way to include JSON or form data in a request? Alternatively, for a

14 Replies, 793 Views

Wow, thanks for all the tips! Didn’t know about `--json` or `httpie`—definitely trying those.

Quick follow-up: What’s the best way to handle nested JSON in curl? Like if I have `{"user": {"name": "foo"}}`, does `-d` still work fine?

Also, `curlconverter.com` looks sick—gonna bookmark that. Appreciate the help! 🙏

Messages In This Thread



Users browsing this thread: 1 Guest(s)