>_ IzzyLab

Topic breakdown

curl can print not the response body but selected transaction metadata via -w/--write-out with a template of internal variables. The numeric HTTP response status is one of those variables. The body is suppressed by outputting to /dev/null, and the progress bar by quiet mode, so that only the code remains in the output.

What's checked

  1. the correct response code is written

What it looks like