web [GET/POST/PUT/DELETE] [<web address>] (<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.
- A header map in the form of header names and header values. An ‘=’ 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.