mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
989 B
Executable File
989 B
Executable File
Read this on the main serverless docs site
Http Event
By default Functions with Auth0 Webtasks are configured to respond to HTTP events. The URL of the webtask is determined by name of the function. Also, any HTTP method can be used to invoke the webtask. Therefore, configuring a Function when using Auth0 webtasks for an HTTP event is as simple as specifing the handler file that contains your code.
functions:
hello:
handler: handlerFile
Note: Auth0 Webtasks only supports a single handler per file. Therefore, you do not need to specify the method like with other Serverless providers.