How to complete the POST secret note challenge, which returns a status code of 200 and amends the secret note.
Issue a POST request on the `/secret/note` end point with a note payload e.g. {"note":"my note"} and receive 200 when valid X-AUTH-TOKEN used. Note is maximum length 100 chars and will be truncated when stored.
`POST` request means use the HTTP Verb POST
e.g. `POST /secret/note` sends to the secret note endpoint
`with a note payload` include a `JSON` formatted object as the payload
`valid X-AUTH-TOKEN used` means a custom header named `X-AUTH-TOKEN` should be added to the message with the value received from the `/secret/token` response in Challenge 30
add the `X-CHALLENGER` header to track progress and authenticate the request
Receive a 200 response because both `X-CHALLENGER` and `X-AUTH-TOKEN` are for the same user and the payload was well formatted.
Find the application links and more information at:
https://eviltester.com/apichallenges
Write up of this challenge instructions:
https://eviltester.com/apichallenges/...
---
Remember to subscribe to this YouTube channel.
You can support me on Patreon / eviltester (watch my videos ad free and receive extra content)
I blog at https://eviltester.com/blog
Learn more about my books and online training at:
https://eviltester.com
Follow me on:
/ eviltester
/ eviltester
/ eviltester