format-http-request

xod/net/format-http-request

Assembles HTTP request message
format-http-request
@/format-http-request
Assembles HTTP request message
METHstring
An HTTP method (e.g., GET, POST, PUT, or DELETE)
HOSTstring
The domain name of the server and the TCP port number on which the server is listening(like xod.io:80)
PATHstring
A path to the requested resource. For example: /foo/bar?q=13
HDRSstring
Additional HTTP headers
BODYstring
The request body (optional)
KAboolean
Whether a connection should be kept alive
format-http-request
OUT
METH
HOST
PATH
HDRS
BODY
KA
OUTstring
The HTTP request message