updating docs

This commit is contained in:
jeffnoehren 2017-12-06 14:24:03 -08:00
parent f3c583d2a5
commit 517c543003
2 changed files with 9 additions and 3 deletions

View File

@ -48,7 +48,7 @@ cat ~/.spotinst/credentials
**Note:** Once you have set up your Spotinst Credentials you will not need to do this again for each project
For more help please refer to the [Credentials](../credentials.md) link provided
For more help please refer to the [Credentials](./credentials.md) link provided
## Create a New Project From a Template
*You can skip this step if you have already done this step in configuring your credentials*

View File

@ -35,6 +35,12 @@ To access your variables in your code you just need to put `process.env['{Your K
## URL Argument Variables
URL parameters are useful if you want to enter data that could change based on user actions like filling out a form or entering information into a database.
URL parameters can be use when a POST request is made to the endpoint of your function.
To access URL parameters in your code you just need to put `eq.query.{Your Parameter Name}` as needed
### 1. Node JS
To access URL parameters in your NodeJS code you just need to put `event.query.['{Your Parameter Name}']` as needed
### 2. Python
To access URL parameters in your NodeJS code you just need to put `os.environ['{Your Parameter Name}']` as needed