We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have a lambda function with function URL that returns status code of 400
export const handler = async (event) => { return { statusCode: 400, body: JSON.stringify({data: 'Hello from Lambda!'}), }; };
I call this function with awscurl and I'd expect that the command exit with non-zero exit code, but got zero instead.
awscurl
$ awscurl --service lambda https://<my-function-url>.lambda-url.ap-southeast-2.on.aws/ {"data":"Hello from Lambda!"} $ echo $? 0
Looks like this line of code is missing a return?
return
https://github.com/okigan/awscurl/blob/master/awscurl/awscurl.py#L573
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I have a lambda function with function URL that returns status code of 400
I call this function with
awscurl
and I'd expect that the command exit with non-zero exit code, but got zero instead.Looks like this line of code is missing a
return
?https://github.com/okigan/awscurl/blob/master/awscurl/awscurl.py#L573
The text was updated successfully, but these errors were encountered: