[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

Add cURL command generation for HTTP monitors (#2591) master

* feat(monitors): copy the monitor request as a curl command Adds a "Copy cURL" entry to the monitor quick actions, on the detail page and in the list table, so an HTTP monitor's request can be replayed from a terminal without waiting for the next check. The command mirrors what apps/checker sends: the OpenStatus user agent, custom headers, the POST application/json default, -L for followRedirects and --max-time from the monitor timeout. Hidden for tcp/dns monitors. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PzRWP9sKSWWuao28PcMrG7 * fix: missing curl on nav monitors * fix: review --------- Co-authored-by: Claude <noreply@anthropic.com>


+186 -3
7 changed files