-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples and invoke don't work together #678
Comments
When you invoke an HTTP function using cURL, the content for the flag
Which version of Cargo Lambda are you using? It sounds like you bumped into this issue, which was fixed in recent versions: cargo-lambda/cargo-lambda#452 |
I'm closing this issue since there is nothing to resolve here. Let us know if you have any other questions. |
|
I'm a bit confused that al the examples don't really work with each other: it's a
name
,firstName
and acommand
parameter.That much is fine, but the invoke command:
Doesn't come out this side:
query_string_parameters
here is empty. The stuff passed here ends up in the body of the event. Do I need to lift the body and parse it myself or is there some way to make this code work?I'm firing a
curl
here because when I do:cargo lambda invoke rustfun -p 9001 --data-ascii '{ "name": "hi" }'
I get:
Where it adds a random date to the URL which I can't get out of there.
The text was updated successfully, but these errors were encountered: