This plugin calls remote API.
Project description
Remote call plugin
This plugin calls remote API.
Configuration
{
"method": "get",
"url": "http://localhost: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 is:
{
"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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0371ffe3b9d24eb264c6402f78b28b36a2dc7b886452c4466cdb73555b90951f |
|
MD5 | 185aca2d900ba1d24df1224911e12faf |
|
BLAKE2b-256 | 3a7c9a4b17d29af1389008e71d24efdd5bc376ca19b95bc2ed3de984607fb89f |
Close
Hashes for tracardi_remote_call-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7e42c10964e7c9f07f9cc81d29e5a0492b2b072fdd9d53f25c1c0f6c9d7e97 |
|
MD5 | ea518fece7f0c0fa8c30ba441f05d4e6 |
|
BLAKE2b-256 | bc9140f2d9439cd5e98df7ffbfc171f9034336ff5f7fa6b16282eb9fb41da3e7 |