Update writing.md

This commit is contained in:
Chad Arimura
2017-09-08 09:27:06 -07:00
committed by GitHub
parent 03bb8157cf
commit 8f1a77123e

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.
* 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](https://github.com/fnproject/fn/tree/master/examples/tutorial/params))
* APP_NAME - the name of the application that matched this route, eg: `myapp`
* ROUTE - the matched route, eg: `/hello`
* METHOD - the HTTP method for the request, eg: `GET` or `POST`