Preferences

The one thing I never understood about the Hurl format is why the response status code assertion happens at the request section and not under the `[Asserts]` section. I wonder what the rationale behind that is.

jicea
A simple GET with a status code is just

  GET http://foo.com
  HTTP 200
You could write also

  GET http://foo.com
  HTTP *
  [Asserts]
  status == 200
HTTP serves as a marker of the response section

This item has no comments currently.