After deploying a serverless application, you may want to invoke the deployed function via its trigger: such as HTTP endpoint (e.g. API Gateway URL) or queue (e.g. SQS). Also, you may need to populate your queues, topics etc. with data, for test executions - or retrieve data from such, to verify execution results or side-effects.
The Toolbox component of Sigma IDE allows you to interact with your cloud resources in this manner. You can open (toggle) it via the Toolbox button on the bottom toolbar:
Sigma’s toolbox currently supports:
This allows you to send HTTP requests to endpoints, similar to Postman or
curl
.
You can use it to test REST/HTTP endpoints deployed by your project, such as
AWS API Gateway triggers or
GCP HTTP triggers.
NOTE:
As the request is generated by the browser, the endpoint must have
CORS enabled -
either globally, or inclusive of the sigma.slappforge.com
domain.
GET
, POST
, etc.).Once the CORS check passes and the actual request gets executed, the response will be displayed - headers under Response Headers and any returned payload under Response Body.
This allows you to
to/from a SNS topic.
The result (e.g. published message ID) will be displayed in the lower section - green on success, red otherwise.
This allows you to
to/from a SQS queue.
The result (e.g. status, sent message ID and MD5 hash) will be displayed in the lower section - green on success, red otherwise.