Yo, had the same issue last week!
For a simple curl post example, this works:
```
curl -X POST https://example.com/api -d '{"key":"value"}' -H "Content-Type: application/json"
```
Pro tip: Use https://reqbin.com/ to test your requests before running curl. Saves a ton of time!
Also, 400 usually means bad data or missing headers. Double-check your JSON formatting.
For a simple curl post example, this works:
```
curl -X POST https://example.com/api -d '{"key":"value"}' -H "Content-Type: application/json"
```
Pro tip: Use https://reqbin.com/ to test your requests before running curl. Saves a ton of time!
Also, 400 usually means bad data or missing headers. Double-check your JSON formatting.
