This plugin calls remote API.
Project description
Remote call plugin
This plugin calls remote API.
Configuration
{
"method": "get",
"url": "http://loclhost:80/API",
"timeout": 30,
"headers": {
"X-Customer-Header": "Header value"
},
"cookies": {
"Cookie-Key": "Cookie value"
},
"sslCheck": true
}
This configuration defines API url as "http://loclhost:80/API".
Payload
Payload for this plugin defines a JSON data to be sent.
If user requires this payload to be sent with GET method than payload will be squashed to represent keys and values.
For example this JSON:
{
"payload": {
"mobile": "android"
},
"version": [10,11]
}
Will be flattened to parameters:
payload.mobile=android&version=10&verison=11
Result
This plugin returns either the response (on response port) or and error on error port.
Valid response has:
{
"status": 200,
"content": {
... response as json
}
}
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
Built Distribution
Close
Hashes for tracardi_remote_call-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b662c152c42ed1b3cf5d145963be65d930598e52ab1861a5c43edf12796724 |
|
MD5 | 8f64d36b894079441271f5fa259fcaf6 |
|
BLAKE2b-256 | a2d388c68f725a758358681e4e654722109c18841bc996d29a97dd40f5115288 |