Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
MDX
at incident-api
123456789101112131415---title: "Request assertions"description: "Not all requests should return a 200 status code. You can now assert on the status code, headers of your requests."publishedAt: "2024-04-01"image: "/assets/changelog/request-assertions.png"author: "openstatus"category: "monitoring"---
Not all requests should return a 200 status code to be successful. Sometimes youwant to assert on the status code of a request. For example, you might want tocheck that a request returns a 404 status code when a resource is not found.
You can now do this with OpenStatus when you configure your monitor.