saasify-faas-sdk
HTTP client for invoking Saasify FaaS.
Install
npm install --save saasify-faas-sdk
Usage
const SaasifySDK = const sdk = const helloWorldUrl = 'https://ssfy.sh/dev/hello-world' const res = await sdk "body": "Hello Nala!" "contentType": "application/json" "response": /* raw axios response */
TODO
- use
nock
in unit tests to ensure robustness and enable offline testing - change stateful way the auth
token
is currently handled
License
MIT © Saasify