Your post in curl looks good, but maybe the server’s picky about trailing slashes or HTTPS. Try:
```bash
curl -X POST https://example.com/api/ -H "Content-Type: application/json" -d '{"key":"value"}'
```
Or use `http://` if the server allows it. Also, `curl --help` has gems hidden in the flags.
```bash
curl -X POST https://example.com/api/ -H "Content-Type: application/json" -d '{"key":"value"}'
```
Or use `http://` if the server allows it. Also, `curl --help` has gems hidden in the flags.
