http
module methods:
get
Send a http GET request with http/Query optionally, and return a http/Response.
(http get url(string) [query(query)]) -> response
post
Send a http POST request with any data, and return a http/Response.
(http post url(string) data(any)) -> response
post_form
Send a http POST request with http/Query, and return a http/Response.
Header entity Content-Type: application/x-www-form-urlencoded is attached.
(http post_form url(string) data(query)) -> response
post_json
Send a http POST request with any data that will be encoded as json, and return a http/Response.
Header entity Content-Type: application/json is attached.
(http post_json url(string) data(query)) -> response
put_form
Send a http PUT request with http/Query, and return a http/Response.
Header entity Content-Type: application/x-www-form-urlencoded is attached.
(http put_form url(string) data(query)) -> response
put_json
Send a http PUT request with any data that will be encoded as json, and return a http/Response.
Header entity Content-Type: application/json is attached.
(http put_json url(string) data(query)) -> response
patch_form
Send a http PATCH request with http/Query, and return a http/Response.
Header entity Content-Type: application/x-www-form-urlencoded is attached.
(http path_form url(string) data(query)) -> response
patch_json
Send a http PATCH request with any data that will be encoded as json, and return a http/Response.
Header entity Content-Type: application/json is attached.
(http patch_json url(string) data(query)) -> response
delete
Send a http DELETE request, and return a http/Response.
(http delete url(string)) -> response
head
Send a http HEAD request, and return a http/Response.
(http head url(string)) -> response
options
Send a http OPTIONS request, and return a http/Response.
(http options url(string)) -> response