load_http
Loads a byte stream via HTTP.
Description
The save_http
operator performs a HTTP request and returns the response.
url: str
The URL to request from. The http://
scheme can be omitted.
method = str (optional)
The HTTP method, such as POST
or GET
.
The default is "GET"
.
params = record (optional)
The query parameters for the request.
headers = record (optional)
The headers for the request.
Examples
Fetch the API response of example.org/api
: