Hey! For curl get requests, headers are a must if the API needs them. So yeah, `-H` every time.
For query params, you can just add them to the URL, but if you’re dealing with a ton of them, consider using `--get` with `--data-urlencode` to keep things tidy.
Also, this site is a gem for testing: https://httpbin.org/. It echoes back your requests so you can see exactly what you’re sending.
For query params, you can just add them to the URL, but if you’re dealing with a ton of them, consider using `--get` with `--data-urlencode` to keep things tidy.
Also, this site is a gem for testing: https://httpbin.org/. It echoes back your requests so you can see exactly what you’re sending.
