Openstatus www.openstatus.dev

๐Ÿ“ changelog assertion

+14
apps/web/public/assets/changelog/request-assertions.png

This is a binary file and will not be displayed.

+14
apps/web/src/content/changelog/request-assertions.mdx
··· 1 + --- 2 + title: Request assertions 3 + description: 4 + Not all requests should return a 200 status code. You can now assert on the 5 + status code, headers of your requests. 6 + publishedAt: 2024-04-01 7 + image: /assets/changelog/request-assertions.png 8 + --- 9 + 10 + Not all requests should return a 200 status code to be successful. Sometimes you 11 + want to assert on the status code of a request. For example, you might want to 12 + check that a request returns a 404 status code when a resource is not found. 13 + 14 + You can now do this with OpenStatus when you configure your monitor.