Edit on github

#Fn HTTP Events

The first type of events that you can create in Fn are HTTP events.

When creating HTTP events you just call the endpoints you have made with http.

#Serverless Yaml

When creating a service your serverless yaml will define which endpoint is used for your functions.

service: hello-world

functions: # Your "Functions"
    name: hi
    version: 0.0.1
    runtime: go
        - http:
            path: /hello

The events section in the yaml above makes it so that the Function hi will be used for request to the FN_API_URL/r/hello-world/hello

Join our monthly newsletter to get the latest Serverless news, updates and happenings.