Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of Variables as containers that hold information. Their sole purpose is to label and store data in memory.
This allows the Function Stack to create a Variable. This Variable can be used by any command in the Function Stack. It can be used in the Response as well.
The drop-down on the value field offers multiple options to make it easier to define the value of your Variable.
Input: These are a collection of the Inputs from the Input section of the API Endpoint.
Auth: This is the information from the auth User.
Constant: These are different data types that can be filled out with a value that doesn't change.
Action: This is a special Xano feature that allows for the import of json.
A filter can be applied to the value to make sure the format is correct for the variable.