Handbook
Glossary
<post-request> ( post-data url -- request )
HTTP client
ยป
POST requests with the HTTP client
Prev:
http-post* ( post-data url -- response data )
Vocabulary
http
.
client
Inputs
post-data
an
object
url
an
url
or a
string
Outputs
request
a
request
Word description
Constructs an HTTP POST request for submitting post data to the URL.
Notes
The request can be passed on to
http-request
, possibly after cookies and headers are set.
Definition
USING:
accessors
kernel
;
IN:
http.client
:
<post-request>
( post-data url -- request )
"POST"
<client-request>
swap
>>post-data
;