Update writing.md

This commit is contained in:
Chad Arimura
2017-09-08 09:26:49 -07:00
committed by GitHub
parent 227e41ef3c
commit 03bb8157cf

View File

@@ -31,7 +31,7 @@ To read in the function body, just read from STDIN.
You will also have access to a set of environment variables. You will also have access to a set of environment variables.
* REQUEST_URL - the full URL for the request [example here](https://github.com/fnproject/fn/tree/master/examples/tutorial/params) * REQUEST_URL - the full URL for the request ([example here](https://github.com/fnproject/fn/tree/master/examples/tutorial/params))
* APP_NAME - the name of the application that matched this route, eg: `myapp` * APP_NAME - the name of the application that matched this route, eg: `myapp`
* ROUTE - the matched route, eg: `/hello` * ROUTE - the matched route, eg: `/hello`
* METHOD - the HTTP method for the request, eg: `GET` or `POST` * METHOD - the HTTP method for the request, eg: `GET` or `POST`