Sick of manually testing your Lambda functions using the AWS interface or hitting your stage URL in Postman? Before you go any further, you want to make sure you've got the AWS CLI installed.

Unfortunately, the AWS CLI can't accept the raw contents of a file as the payload when invoking a Lambda function.

You can invoke your Lambda function using the aws lambda command.

If you want to save the output of the execution to a file, you can specify the output file at the end of the command.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners