Bro, just use Postman to build the request first, then copy as curl.
But if you insist on raw curl make request:
```
curl -X POST "https://example.com/api" \
-H "Accept: application/json" \
-H "X-API-Key: yourkey" \
-d '{"param":"value"}'
```
`-d` is for raw data, `--data-urlencode` URL-encodes it. Docs suck, but trial and error works.
But if you insist on raw curl make request:
```
curl -X POST "https://example.com/api" \
-H "Accept: application/json" \
-H "X-API-Key: yourkey" \
-d '{"param":"value"}'
```
`-d` is for raw data, `--data-urlencode` URL-encodes it. Docs suck, but trial and error works.
