Web

web [GET/POST/PUT/DELETE] [<web address>] (<data>) (<header_name>:<header_value>,…)

Sends an HTTP based web request.

Parameters:

  1. The type of HTTP request to execute. Valid options are “GET”, “POST”, “PUT”, and “DELETE”.
  2. The complete web address to send the request to.
  3. The raw data string to send to send to the web address.
  4. 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.