Skip to content

How should I invoke HTTP examples locally? #610

Description

@timClicks

I'm slightly confused about how to invoke the HTTP examples on the command line via cargo lambda invoke.

For example, the http-axum example provides a few HTTP accessible paths, but I'm unsure how to reach them. http-basic-lambda is even more frustrating, because it doesn't accept any arguments, yet the invoke sub-command requires that users specific data to sent.

What data should I be providing? How do I send GET vs POST requests? Is it possible to simply use curl?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions