simplify_truths/http/index.http
Martin Berg Alstad 2dd361ce7e Not found page with html and moved utils into index and split http requests to separate files.
Static dir for hosting html files.

Helper function for loading HTML.

Changed location where openapi.html is generated and updated dockerfile
2024-06-20 14:05:51 +02:00

18 lines
300 B
HTTP

### GET index page
GET {{url}}
### 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");
});
%}