curl and HTTP APIs
Talk to any HTTP API from the terminal: headers, authentication, POST with JSON and forms, redirects and parsing the response.
- Download the server's response bodyeasy
- Download a file, keeping its nameeasy
- Find out the response codemedium
- Headers only: Content-Typemedium
- Send your own headereasy
- Basic authenticationeasy
- Send a POST with JSONmedium
- POST a urlencoded formmedium
- Extract a field from a JSON responsemedium
- Follow the redirecteasy
- Where does the link end upmedium
- A URL probe with the code in a logmedium