http-request

xod/net/http-request

Performs an HTTP request and returns the response as a stream of characters
http-request
@/http-request
Performs an HTTP request and returns the response as a stream of characters
INETgeneric t1
An internet connection
HOSTstring
A domain name of the server
PORTnumber
A port number on which the server is listening. In most configurations, HTTP web servers listen at port 80
METHstring
An HTTP method (e.g., GET, POST, PUT, or DELETE)
PATHstring
A path to the requested resource
HDRSstring
Additional headers
BODYstring
The request body (optional)
INITpulse
Initiate the request
http-request
INET
HOST
PORT
METH
PATH
HDRS
BODY
INIT
CHAR
RCV
END
ENDpulse
Pulses when all response data is received and the connection is closed
RCVpulse
Pulses when a new response character is received
CHARbyte
The last received character from the response