How to complete the challenge POST /api/secret/note (401)
Use POST /api/secret/note with a valid JSON note payload, but do not include the X-AUTH-TOKEN header.
The challenger header still identifies your session, but the missing auth token means the API should return 401.
Try it now
POST /api/secret/note without an auth token to trigger 401
Lessons Learned
- A valid request body is not enough when a protected write lacks
X-AUTH-TOKEN. 401 Unauthorizedshould occur before the server accepts a new secret note value.- This challenge separates payload validation from authorization validation.
Suggested Experiments
- Send the same
JSONbody first withoutX-AUTH-TOKEN, then with the token, and compare whether the note changes. - Remove
Content-Typeas well as the token to see which error the API prioritizes.