Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Is it possible to specify get parameters in the http mapping #232

Open
spam-n-eggs opened this issue Jun 2, 2021 · 0 comments
Open

Is it possible to specify get parameters in the http mapping #232

spam-n-eggs opened this issue Jun 2, 2021 · 0 comments

Comments

@spam-n-eggs
Copy link

Serverless for AWS Lambdas allows this and I was wondering if this is something that can be done with Kubeless.

serverless.yml:

functions:
  hello:
    handler: handler.hello
    events:
      - http
          path: /hello/{name}

handler.js

function hello(name, event, context) {
    return `Hello ${name}`;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant