Help Center> FunctionGraph> FAQs> Function Execution FAQs> How Do I Read the Request Header of a Function?
Updated on 2022-12-01 GMT+08:00

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.

Function Execution FAQs FAQs

more