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.