Skip to content
Discussion options

You must be logged in to vote

Thank you both very much for the timely response that let me get straight back to work! I'll check through @calavera's resources as well in a moment, but @bnusunny's Lambda API docs look like exactly the piece of the puzzle I've been missing.

Recap

To recap, I'm trying to translate the following sam local invoke to a sam local start-lambda + HTTP request (for testing a web app):

sam local invoke MyRustLambda --event ./tests/sample.json --template ./cdk.out/RustStandaloneStack.template.json

... where tests/sample.json could be as complex as this example or as simple as just:

{
  "requestContext": {
    "http": {
      "method": "GET"
    },
    "timeEpoch": 1674445263
  }
}

Step one: sam l…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shirakaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #589 on January 23, 2023 02:34.