Check if the server expects a trailing slash or specific path. I’ve wasted hours on that.
For JSON, use single quotes around the data to avoid shell interpretation:
```bash
curl -X POST https://example.com/api -d '{"key":"value"}'
```
For JSON, use single quotes around the data to avoid shell interpretation:
```bash
curl -X POST https://example.com/api -d '{"key":"value"}'
```
