Hey! For curl headers, you can also use `--header` instead of `-H` if you prefer the long form. Same thing, just more readable.
If you’re sending JSON, don’t forget to set `Content-Type` to `application/json`. Otherwise, the API might not parse your data correctly.
For debugging, I use `curl -s -o /dev/null -w "%{http_code}" https://example.com` to just get the status code. Helps isolate issues quickly.
Also, https://httpie.io/ is a great alternative to curl if you want something more user-friendly for API testing.
If you’re sending JSON, don’t forget to set `Content-Type` to `application/json`. Otherwise, the API might not parse your data correctly.
For debugging, I use `curl -s -o /dev/null -w "%{http_code}" https://example.com` to just get the status code. Helps isolate issues quickly.
Also, https://httpie.io/ is a great alternative to curl if you want something more user-friendly for API testing.
