For form data, curl http post looks different! Example:
```bash
curl -X POST https://example.com/api \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=value&foo=bar"
```
JSON vs form data depends on the API. Always check the docs. If you’re stuck, share the error—we can help more!
```bash
curl -X POST https://example.com/api \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=value&foo=bar"
```
JSON vs form data depends on the API. Always check the docs. If you’re stuck, share the error—we can help more!
