Remote call plugin
This plugin calls remote API.
Configuration
{
"method": "post",
"url": "http://localhost:80/API",
"timeout": 30,
"headers": {
"X-Customer-Header": "Header value"
},
"cookies": {
"Cookie-Key": "Cookie value"
},
"sslCheck": true,
"body": {
"content": "{\"json\":1}",
"type": "application/json"
}
}
This configuration defines API url as POST "http://loclhost:80/API" with body {"json":1}.
If user requires the body to be sent with GET method than body 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.
Example of valid response
{
"status": 200,
"content": "<body>",
"cookies": {
"key": "value"
}
}
Metadata
Release files for tracardi-remote-call 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tracardi-remote-call-0.6.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tracardi_remote_call-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / tracardi-remote-call-0.6.0.tar.gz
| Download URL | tracardi-remote-call-0.6.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7398ebc6576e32a0b513d7f3f1f730ee15024e84eb94456a076dd872e74a95d0
|
|
BLAKE2b-256 checksum How to use checksums |
1baad86260875c08ff2c9fa074be4c3e617e345fb73b2be31fd42c53404bf464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.12
|
Release files / tracardi_remote_call-0.6.0-py3-none-any.whl
| Download URL | tracardi_remote_call-0.6.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40f37ef999d62f5c4a7784e198d83177ed855794c8dff0b27ba9961da95c5d2a
|
|
BLAKE2b-256 checksum How to use checksums |
c07c71e52bb480098c17d9637645f942b9f299df605bf6510226fe585bb2bdc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.12
|