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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ff2f3b5258f7a3a7ac96521a75f997db2b474d4c8fd7200ed85f87b7d4fa938 |
|
MD5 | 1e0765791f4e93c87141cce1012e4147 |
|
BLAKE2b-256 | 05353cf59ae71f4003a351cec53d88d7ce58e8f34601994feafdb07ae4a61fb9 |
Close
Hashes for tracardi_remote_call-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e685ee54ab0304e6aa6cae2fa1574400a73a25876acc1240a38f1220f1d73cfa |
|
MD5 | fb3dea46a5b4fa38eb2ca341c1ba5ad1 |
|
BLAKE2b-256 | 982dcfebe044dca520405385a658dccff9893207b63857d5b95d50db8dabe93c |