2 Answers
- Newest
- Most votes
- Most comments
0
-d is used to sent a payload, not query parameters.
What you need to do is:
curl https://<lambda-url>/item=one
0
Anwering my own question.
return {
'statusCode': 200}
and
return
{
`statusCode`: 200 }
are not equivalent. The first returns the object, while the second returns None
(which somehow becomes null
).
I miss FORTRAN. Any plans of adding it to Lamdba runtimes?
answered a year ago
Python is quite picky about whitespace and lines that are not marked as unterminated - as in this case. As far as Fortran goes: You can create your own Lambda runtimes: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html - I'm not sure if you're serious or not but if you are, it's probably doable.
Relevant content
- asked 18 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Hi Uri, Thank you for the reply. I tried:
curl -X POST https://<lambda-id>.lambda-url.ap-southeast-2.on.aws/?item=two
The result isnull
as well. This beats me. I created a test event:I also added a print statement to the Lambda function:
The execution results are:
Any further help would be much appreciated.