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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a4b3c7a1d3f61b51ba88718b5e0fdcf2d7d6bdd41ae9a082f98d02ca04475d |
|
MD5 | 73fcbe1d6201ee25cec243aa3facfd27 |
|
BLAKE2b-256 | 93991519febc6c13b217ddabdc3f75be206d6c9240cbf6b18776d2a227d3a11e |