mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update writing.md
This commit is contained in:
@@ -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
|
* 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`
|
||||||
|
|||||||
Reference in New Issue
Block a user