arkerone/api-key-auth

The "date" header is mandatory

Closed this issue · 2 comments

Description

The "date" header is mandatory but it looks optional while reading the README.

This options is used if HTTP header "date" is used to create the signature.

Screenshots

image

To Reproduce

Send any request without the date field

Tasks

  • Add a mention in the README file

Sorry, I finally found this information into the signature.md 👍

header (OPTIONAL) : The list of HTTP headers used to create the signature of the request. If specified, it should be a lowercased, quoted list of HTTP header fields, separated by a single space character. If not specified, the Date header is used by default therefore the client must send this Date header. Note : The list order is important, and must be specified in the order the HTTP header field-value pairs are concatenated together during signing.

Sorry, I finally found this information into the signature.md 👍

header (OPTIONAL) : The list of HTTP headers used to create the signature of the request. If specified, it should be a lowercased, quoted list of HTTP header fields, separated by a single space character. If not specified, the Date header is used by default therefore the client must send this Date header. Note : The list order is important, and must be specified in the order the HTTP header field-value pairs are concatenated together during signing.

No problem ;)