A Wishbone output module to submit data to a http API.
Project description
__ __ __ .--.--.--|__.-----| |--| |--.-----.-----.-----. | | | | |__ --| | _ | _ | | -__| |________|__|_____|__|__|_____|_____|__|__|_____| version 2.2.0 Build composable event pipeline servers with minimal effort. ==================== wishbone.output.http ==================== Version: 1.1.1 Submit data to a http API. -------------------------- Submit data to a http API. Parameters: - selection(str)("@data")* | The part of the event to submit externally. | Use an empty string to refer to the complete event. - method(str)("PUT")* | The http method to use. PUT/POST - content_type(str)("application/json")* | The content type to use. - accept(str)("text/plain")* | The accept value to use. - additional_headers(dict)({}) | A dictionary of additional headers. - url(str)("http://localhost")* | The url to submit the data to - username(str)* | The username to authenticate - password(str)* | The password to authenticate - allow_redirects(bool)(False)* | Allow redirects. - timeout(float)(10)* | The maximum amount of time in seconds the request is allowed to take. Queues: - inbox | Incoming messages
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for wishbone_output_http-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec1c88a0c9febf917bc20e5adda58ff11e44bc13ec93e695e38ed5b8cb39a338 |
|
MD5 | d9f6a52387f9a71d6212443de8416591 |
|
BLAKE2b-256 | 54969114c78dc5e5fe9f544ddfaa8f5fe6d0b6c60dd4b4a36cc6ff436500c723 |