getHTTPRequestData

Returns HTTP request headers and request body. The resulting structure contains the following keys:
content (the request body),
headers (a structure of request headers),
method (same as cgi.request_method),
protocol (same as cgi.server_protocol).

getHTTPRequestData() → returns struct

Links more information about getHTTPRequestData


Fork me on GitHub