Yup, headers curl can be finicky. If you’re on macOS/Linux, try wrapping the whole header in single quotes if double aren’t working. Like:
`curl -H 'Content-Type: application/json'`
For debugging, `-v` is your best friend. It’ll show you the raw request, so you can spot missing headers.
Also, if you’re using variables, make sure they’re actually set. I’ve facepalmed over that more than once.
`curl -H 'Content-Type: application/json'`
For debugging, `-v` is your best friend. It’ll show you the raw request, so you can spot missing headers.
Also, if you’re using variables, make sure they’re actually set. I’ve facepalmed over that more than once.
