HTTPRequest
Description
Table used by HTTP function.
Parameters
success [function]
method [string]
Request method, case insensitive. Possible values are:
- GET
- POST
- HEAD
- PUT
- DELETE
- PATCH
- OPTIONS
url [string]
The target url
parameters [table]
KeyValue table for parameters. This is only applicable to the following request methods:
- GET
- POST
- HEAD
headers [table]
KeyValue table for headers
body [string]
Body string for POST data. If set, will override parameters
type [string]
Content type for body.
Default:
"text/plain; charset=utf-8"