Step 4: Add the Signature to the Request Header
Add the signature to the Authorization HTTP header. The Authorization header is used for identity authentication and not included in the SignedHeaders. The format is as follows:
Authorization:<Algorithm> AppId=<appId>,SignedHeaders=<SignedHeaders>,Signature=<Signature>
Description:
- Algorithm: signature algorithm. For SHA-256, the algorithm is HMAC-SHA256.
- There is a space between Algorithm and AppId. AppId and SignedHeaders are separated by a comma (,).
- SignedHeaders indicates the request headers to be signed. Each header is separated by a semicolon (;). SignedHeaders and Signature are separated by a comma (,).
- Signature: signature calculated in step 3.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot