Skip to main content

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)

Source distribution for tracardi-remote-call 0.6.0
File Size Uploaded
tracardi-remote-call-0.6.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tracardi-remote-call 0.6.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page