katt icon indicating copy to clipboard operation
katt copied to clipboard

Not possible to specify multiple http response codes

Open tobiiasl opened this issue 6 years ago • 0 comments

Use case: We are using KATT for api testing an http endpoint. But for some tests we first need to make sure that a resource exists (in this case a "customer"). Therefore we need to make a POST request to create the resource. If it already exists we will get 409 back, if not 201.

As far as I understand it is not possible to specify that more than response code is allowed and it is not possible to ignore the response code, only the header and body contents.

It would be very convenient to use KATT also for the POST call and not have to use another tool like Curl.

tobiiasl avatar Feb 27 '18 08:02 tobiiasl