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

getHTTPRequestData Argument Reference

includeBody boolean
Required
Default: false

Whether return the body or not.

NOTE: This can only be done once.
If you expect the body to contain content which causes an exception in coldfusion, set it to false as well and process it yourself.
Values:
  • true
  • false

Links more information about getHTTPRequestData


Fork me on GitHub