Why’s everyone overcomplicating this? For a simple GET with headers:
`curl "https://example.com/api?param=stuff" -H "Authorization: lol"`
Done.
If you’re POSTing JSON, add `-H "Content-Type: application/json"` and `-d '{"json":"here"}'`.
curl make request ain’t rocket science once you ditch the docs and experiment.
`curl "https://example.com/api?param=stuff" -H "Authorization: lol"`
Done.
If you’re POSTing JSON, add `-H "Content-Type: application/json"` and `-d '{"json":"here"}'`.
curl make request ain’t rocket science once you ditch the docs and experiment.
