Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

cURL is a command line tool. It can be used on most of the well known operating systems. In this tutorial we will often test REST request via cURL.

Downloadhttps://curl.haxx.se/download.html
PositiveVery flexible to tailor the request (method, request headers, etc.). Response can be further processed.
NegativeNot everybody likes command line tools. The response is not reasy to read without further tooling. No out of the box automatic URL encoding.
Tips

On the first atempt of a request use the -i option to display all response headers.

If the response body is fine and delivers JSON, pretty print and colorize the response body with tools such as jq.



Swagger UI tools

.