Thanks everyone! Adding `-H "Content-Type: application/json"` fixed it—turns out the server was super strict about headers.
I also tried `-v` and saw the server was expecting `Accept: application/json` too. Weird, but it works now.
Quick follow-up: How do I handle auth headers? Like, if I need to add a token, do I just slap on `-H "Authorization: Bearer token"`? Or is there a cleaner way?
I also tried `-v` and saw the server was expecting `Accept: application/json` too. Weird, but it works now.
Quick follow-up: How do I handle auth headers? Like, if I need to add a token, do I just slap on `-H "Authorization: Bearer token"`? Or is there a cleaner way?
