How to Use curl to Send JSON Data in a POST Request?

22 Replies, 1373 Views

This is gold! One more thing: if you’re sending JSON with nested objects, make sure to escape the inner quotes properly. I’ve had curl send json fail because of that.

Also, if you’re on Windows, try using Git Bash instead of Powershell. It handles curl commands way better.

Messages In This Thread



Users browsing this thread: 2 Guest(s)