Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, [ContentType], [extraHeader], [body], [rtnHeaders]

Description:

Perform an HTTP or HTTPS request to a designated server and port.

Usage:

ServerName, Port, bSecure, Mode, Path, ContentType, ExtraHeader, Body, rtnHeaders
ServerName, Port, bSecure, Mode, Path, ContentType, ExtraHeader, Body, [""]
ServerName, Port, bSecure, Mode, Path, ContentType, [""], [""], [""]
ServerName, Port, bSecure, Mode, Path, ["application/lx-www-form-urlencoded"], [""], [""], [""]
ServerName, Port, bSecure, Mode, [""], ["application/lx-www-form-urlencoded"], [""], [""], [""]
ServerName, Port, bSecure, ["POST"], [""], ["application/lx-www-form-urlencoded"], [""], [""], [""]
ServerName, ["80" Or "443"], bSecure, ["POST"], [""], ["application/lx-www-form-urlencoded"], [""], [""], [""]
ServerName, ["80"], [""], ["POST"], [""], ["application/lx-www-form-urlencoded"], [""], [""], [""]

Example:

[New] HttpBody HttpPath HttpParams HttpContentType HttpXHeader

HttpBody = ""
HttpPath = "/comments"
HttpParams = "userid=1"
HttpContentType = "application/json"
HttpXHeader = ""

[New] HttpResponse = Http$ "jsonplaceholder.typicode.com", "", "", "GET", (HttpPath & HttpParams), HttpContentType, HttpXHeader, HttpBody, ""