curl¶
Some frequently used curl commands/snippets.
Response status code and body¶
-s(--silent): Hides the progress meter and noise-S(--show-error): Tells curl that even though it's in silent mode, it should still print an error message if the connection completely fails (e.g., DNS failure, connection refused).