@bifravst/http-api-mock
v2.1.118
Published
Helper functions for AWS lambdas written in TypeScript.
Downloads
3,724
Readme
HTTP API Mock
Provides a mock HTTP API for testing third-party API integrations.
Create a new mock HTTP API
Create a new mock API:
npx @bifravst/http-api-mock
{
"stackName": "http-api-mock-69c2c4b9",
"responsesTableName": "http-api-mock-69c2c4b9-httpapimockresponses562FCFC7-C80OCULJKYFE",
"apiURL": "https://liv73h149l.execute-api.eu-west-1.amazonaws.com/prod/",
"requestsTableName": "http-api-mock-69c2c4b9-httpapimockrequests2216D487-608PM7EHETW4"
}
Describe a mock HTTP API
npx @bifravst/http-api-mock describe <stackName>
Delete a mock HTTP API
npx @bifravst/http-api-mock destroy <stackName>