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/heartbeat triggers a server-error path on purpose for the challenge.
  • 500 Internal Server Error tells 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/heartbeat with method override to PATCH and see if both reach the same failure.
  • Retry the request and note whether the simulated 500 Internal Server Error is stable or intermittent.
Experiment with this endpoint