How to complete the challenge PATCH /api/heartbeat (500)
Send a PATCH request to /api/heartbeat.
This endpoint deliberately returns 500 for PATCH so you can practise observing server-error responses during API testing.
Try it now
PATCH /api/heartbeat to trigger 500
Lessons Learned
PATCH /api/heartbeattriggers a server-error path on purpose for the challenge.500 Internal Server Errortells you the request reached the server but the server failed to handle it.- Error-status tests should capture response body, headers, and logs if available.
Suggested Experiments
- Compare direct
PATCH /api/heartbeatwith method override toPATCHand see if both reach the same failure. - Retry the request and note whether the simulated
500 Internal Server Erroris stable or intermittent.