If you’re sending a post request in curl with JSON, don’t forget to escape quotes if you’re on Windows:
```curl -X POST https://example.com/api -H "Content-Type: application/json" -d "{\"name\":\"test\"}"```
Also, check if the server expects `Accept` headers. Tools like httpie (https://httpie.io) are easier for beginners!
```curl -X POST https://example.com/api -H "Content-Type: application/json" -d "{\"name\":\"test\"}"```
Also, check if the server expects `Accept` headers. Tools like httpie (https://httpie.io) are easier for beginners!
