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 2022/08/22 09:58:00 UTC

[GitHub] [apisix] tzssangglass commented on issue #7756: help request: hmac Authorization 如何拼接?

tzssangglass commented on issue #7756:
URL: https://github.com/apache/apisix/issues/7756#issuecomment-1222126420

   > 下面是我的一个请求示例(看下格式是否正确):
   > `curl -i "http://127.0.0.1:9080/index.html?name=james&age=36" \ -H 'Authorization: hmac-auth-v1#user-key#8XV1GB7Tq23OJcoz6wjqTs4ZLxr9DiLoY4PxzScWGYg=#hmac-sha256#Tue, 19 Jan 2021 11:33:20 GMT#User-Agent;x-custom-a'`
   
   It looks correct, and here is the correct format that I got from running the test cases:
   
   ```
   "hmac-auth-v1#my-access-key#DjnaOTdYIQsMOlr/2vY45WZjeaUnhiWLylfRvPL95N8=#hmac-sha256#Mon, 22 Aug 2022 09:50:16 GMT#x-custom-header-a;x-custom-header-b"
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org