22 lines
350 B
HTTP
22 lines
350 B
HTTP
### GET index page
|
|
|
|
GET {{url}}
|
|
|
|
### GET index page on HTTP/2
|
|
|
|
GET {{url}} HTTP/2
|
|
|
|
### GET OpenAPI page
|
|
|
|
GET {{url}}/openapi
|
|
|
|
### GET should fallback to 404 page
|
|
|
|
GET {{url}}/something-that-does-not-exist
|
|
|
|
> {%
|
|
client.test("Response status is 404", () => {
|
|
client.assert(response.status === 404, "Response status is not 404");
|
|
});
|
|
%}
|