This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.11.11.2.4. headers
HTTP 요청 헤더를 오브젝트로 반환합니다.
헤더 예
curl 명령을 사용하여 이를 호출하여 함수에 액세스할 수 있습니다.
명령 예
curl -H'x-custom-header: some-value’' http://example.function.com
$ curl -H'x-custom-header: some-value’' http://example.function.com
출력 예
{"level":30,"time":1604511655265,"pid":3430203,"hostname":"localhost.localdomain","reqId":1,"msg":"some-value"}
{"level":30,"time":1604511655265,"pid":3430203,"hostname":"localhost.localdomain","reqId":1,"msg":"some-value"}