Skip to main content

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

tracardi-remote-call-0.1.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracardi_remote_call-0.1.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-remote-call-0.1.3.tar.gz.

File metadata

  • Download URL: tracardi-remote-call-0.1.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using 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.11

File hashes

Hashes for tracardi-remote-call-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5ff2f3b5258f7a3a7ac96521a75f997db2b474d4c8fd7200ed85f87b7d4fa938
MD5 1e0765791f4e93c87141cce1012e4147
BLAKE2b-256 05353cf59ae71f4003a351cec53d88d7ce58e8f34601994feafdb07ae4a61fb9

See more details on using hashes here.

File details

Details for the file tracardi_remote_call-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tracardi_remote_call-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using 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.11

File hashes

Hashes for tracardi_remote_call-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e685ee54ab0304e6aa6cae2fa1574400a73a25876acc1240a38f1220f1d73cfa
MD5 fb3dea46a5b4fa38eb2ca341c1ba5ad1
BLAKE2b-256 982dcfebe044dca520405385a658dccff9893207b63857d5b95d50db8dabe93c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page