You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/19 14:03:29 UTC
[GitHub] [apisix] Firstsawyou commented on issue #4083: request help: hmac {"message":"Invalid signature"} in POST test
Firstsawyou commented on issue #4083:
URL: https://github.com/apache/apisix/issues/4083#issuecomment-822492256
> const signing_string =
> `POST
> /checkAddress
> user-key-kelly
> Tue, 19 Jan 2021 11:33:20 GMT
> User-Agent:curl/7.29.0
> x-custom-a:test
> `
According to the signature formula `signing_string = HTTP Method + \n + HTTP URI + \n + canonical_query_string + \n + access_key + \n + Date + \n + signed_headers_string`, you can try the following signature string:
```
const signing_string =
`POST
/checkAddress
user-key-kelly
Tue, 19 Jan 2021 11:33:20 GMT
User-Agent:curl/7.29.0
x-custom-a:test
`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org