How can I view the post output of an API using curl API? or What’s the best way to check the post out

18 Replies, 946 Views

If you’re on Windows, quote escaping can be weird. Try:

```
curl -X POST https://example.com/api -d "{\"key\":\"value\"}" -H "Content-Type: application/json"
```

Also, check if the API requires HTTPS or a specific user-agent.

Messages In This Thread



Users browsing this thread: 1 Guest(s)