web [GET/POST/PUT/DELETE] [<web address>] (<data>) (<header_name>:<header_value>,…)
Sends an HTTP based web request.
Parameters:
- The type of HTTP request to execute. Valid options are “GET”, “POST”, “PUT”, and “DELETE”.
- The complete web address to send the request to.
- The raw data string to send to send to the web address.
- A header map in the form of header names and header values. A ‘:’ is used in between names and values. A ‘,’ is used in between name value pairs.
Returns: The response from the HTTP server that the request was sent to.