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

22 Replies, 1412 Views

Solid advice! Another tool I’d recommend is https://httpie.io/. It’s like curl but way more user-friendly for API testing. For example, sending JSON is as simple as:

```bash
http POST https://example.com/api key=value
```

Way less typing than curl send json, and it auto-formats the output.

Messages In This Thread



Users browsing this thread: 1 Guest(s)