๐ JSON API Monitor
The JSON API monitor extends the HTTP monitor with features specific to monitoring JSON APIs โ checking response structure, values, and more.
๐ฏ Was Es Machtโ
- Makes HTTP requests to a JSON API endpoint
- Verifies the response is valid JSON
- Checks for specific keys or values in the response
- Supports all HTTP methods and authentication
โ๏ธ Konfigurationโ
Same as the HTTP monitor, tailored for APIs:
| Einstellung | Beschreibung |
|---|---|
| URL | Your API endpoint |
| Method | GET, POST, etc. |
| Headers | Usually includes Accept: application/json |
| Keyword | Check for a JSON key/value like "status":"ok" |
| Authentication | Bearer token, Basic Auth |
๐ก Tippsโ
- Add
Accept: application/jsonin custom headers to ensure you get JSON responses. - Use keyword checks to verify the response structure, not just HTTP status.