doc-exports/docs/fg/umn/functiongraph_03_0838.html
Chen, Junjie dac566cf2f FG UMN 20230725 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-04-03 10:30:56 +00:00

14 lines
995 B
HTML

<a name="functiongraph_03_0838"></a><a name="functiongraph_03_0838"></a>
<h1 class="topictitle1">How Do I Read the Request Header of a Function?</h1>
<div id="body0000001270962209"><p id="functiongraph_03_0838__p157966415437">The first parameter in the function handler contains the request header. You can print the function execution result to obtain required fields.</p>
<p id="functiongraph_03_0838__p8060118">As shown in the following figure, <strong id="functiongraph_03_0838__b683624355714">event</strong> is the first parameter in the function handler, and <strong id="functiongraph_03_0838__b55714283585">headers</strong> is the request header.</p>
<p id="functiongraph_03_0838__p10405135724215"><span><img id="functiongraph_03_0838__image8485358144218" src="en-us_image_0000001275385005.png"></span></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="functiongraph_03_0346.html">Function Execution FAQs</a></div>
</div>
</div>