Hey noob here too but I just figured this out last week! For CURL post a URL with JSON, this worked for me:
```
curl -X POST https://api.example.com/data \
-H "Content-Type: application/json" \
-d '{"url":"https://my-site.com"}'
```
If it’s still broken, maybe the API wants a different field name? Like `"link"` instead of `"url"`.
For debugging, I use `-i` to see headers. Super helpful!
```
curl -X POST https://api.example.com/data \
-H "Content-Type: application/json" \
-d '{"url":"https://my-site.com"}'
```
If it’s still broken, maybe the API wants a different field name? Like `"link"` instead of `"url"`.
For debugging, I use `-i` to see headers. Super helpful!
