save_http
Sends a byte stream via HTTP.
Description
The save_http
operator performs a HTTP request with the request body being the
bytes provided by the previous operator.
url: str
The URL to write to. The http://
scheme can be omitted.
method = str (optional)
The HTTP method, such as POST
or GET
.
The default is "POST"
.
params = record (optional)
The query parameters for the request.
headers = record (optional)
The headers for the request.
Examples
Send incoming bytes to example.org/api
: