API Gateway Protocol
  • 08 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

API Gateway Protocol

  • Dark
    Light
  • PDF

Article Summary

The API Gateway protocol supports tasks in the following format:

{
  "__callback_url": "https://url...",
  "__headers": {
    "user-agent": "curl/7.87.0"
  },
  "__request": {
    "sync": true,
    "path_params": {},
    "method": "POST",
    "host": "cy5j13x6e1.apigw.corezoid.com",
    "path": "/mypath",
    "query": ""
  },
  "incKey": 12345
}

where:
__headers": {}are the [header parameters specified in the Corezoid node]
"path_params": {} are the parameters specified in the Corezoid node;
"query": "" are parsed GET parameters if they are specified after the direct URL.

This format is compatible with the Sync API format.


Was this article helpful?