How Do I Read the Request Header of a Function?
The first parameter in the function handler contains the request header. You can print the function execution result to obtain required fields.
As shown in the following figure, event is the first parameter in the function handler, and headers is the request header.
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