platform-proxy-utils
v1.1.0
Published
This package provides utility functions to help interact with [platform-proxy](https://github.com/elephant-healthcare/primary-care-pilot/tree/master/packages/platform-proxy).
Downloads
4
Readme
platform-proxy-utils
This package provides utility functions to help interact with platform-proxy.
Exported functions
transformRequestForProxy(configObject)
configObject properties
| Property | Description | Example | | ------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | | platformProxyDomain | Domain for the platform proxy you wish to send a request to. Note that this is just the domain and doesn't include the protocol. | platform-proxy.development.kenya.elephantprimarycare.com | | urlToTransform | The URL that you are trying to request that needs to be passed via the platform-proxy | https://foo.com/test?bar=baz |