Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Introduction


This page describes the one API offered by the proxy service

API


ServiceAPIMethod
proxy/redirectPOST


Workflow: Check Redirect Workflow

Input


NameSourceMandatoryTypeSpecial FormatDescription
_envbodyYESStringN/AThe code of the environment to redirect to.
_envauthbodyYESStringN/AThe soajsauth of the environment the calls is redirected to.
proxyRoutebodyYESStringN/AAn encoded value of the service/api to redirect to in the requested environment.

Example


Proxy call example
CURL -X POST "http://127.0.0.1:4000/proxy/redirect?__env=dev&__envauth=Basic c29hanM6QzAzYmhnVWhSeEx4bUhURjFNUkFsVnh5Zi1VMzNNQXNnV2Y=&proxyRoute=%2serviceName%2FapiName" -d '%data that should be provided to the proxyRoute%'
  • No labels