Dude, `-H "Accept: application/json"` is my default—no more XML surprises.
Also, `-k` when I’m lazy and just wanna bypass SSL checks (don’t @ me, it’s for testing!).
If you’re dealing with APIs a lot, maybe try `httpie`? It’s curl opts but prettier and less typing.
Oh, and `-o /dev/null` when I only care about headers. Silent but deadly.
Also, `-k` when I’m lazy and just wanna bypass SSL checks (don’t @ me, it’s for testing!).
If you’re dealing with APIs a lot, maybe try `httpie`? It’s curl opts but prettier and less typing.
Oh, and `-o /dev/null` when I only care about headers. Silent but deadly.
