mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
updating docs
This commit is contained in:
parent
f3c583d2a5
commit
517c543003
@ -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*
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user