diff --git a/docs/providers/spotinst/guide/quick-start.md b/docs/providers/spotinst/guide/quick-start.md index b41630115..077ab90ad 100644 --- a/docs/providers/spotinst/guide/quick-start.md +++ b/docs/providers/spotinst/guide/quick-start.md @@ -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* diff --git a/docs/providers/spotinst/guide/variables.md b/docs/providers/spotinst/guide/variables.md index 6ea930d97..a120acc09 100644 --- a/docs/providers/spotinst/guide/variables.md +++ b/docs/providers/spotinst/guide/variables.md @@ -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