Trade a code for access to the secret
POST/secret/:key/code/verify
A correct code is used up and sets the codeGrant cookie, which opens
this one secret for 15 minutes. It cannot delete the secret or do
anything else. Five wrong codes burn the current one.
/file/{key}/code/verify is equivalent.
Request
Responses
- 200
- 400
- 403
- 503
Accepted. The response sets the codeGrant cookie.
An error. message says what went wrong.
Wrong, expired, used or burnt code.
An error. message says what went wrong.