How to complete the challenge POST /api/challenger (existing X-CHALLENGER)
This persistence challenge restores a saved challenger by sending a POST request to /api/challenger with the existing challenger GUID in the X-CHALLENGER header.
It differs from creating a new challenger because the request includes an existing X-CHALLENGER value and expects the server to restore that challenger rather than create a new one.
Try it now
POST /api/challenger with X-CHALLENGER to resume the current challenger
Lessons Learned
POST /api/challengerwith an existingX-CHALLENGERrestores that session instead of creating a fresh one.200 OKsignals reuse or restoration, contrasting with201 Createdfor new sessions.- Session bootstrap endpoints can be sensitive to whether a header is present.
Suggested Experiments
- Call
POST /api/challengerwith noX-CHALLENGER, then with an existing one, and compare status plus headers. - Try an unknown
X-CHALLENGERvalue and see whether the API restores, creates, or rejects it.