12 lines
365 B
Markdown
12 lines
365 B
Markdown
## Usage of addParam
|
|
|
|
The `addParam()` function is used to add parameters to an API call in the query string.
|
|
The basic syntax of this function is as follows:
|
|
|
|
```javascript
|
|
addParam(variable, value)
|
|
```
|
|
|
|
Where `variable` is the name of the variable to be used as a parameter in the API call,
|
|
and `value` is the value assigned to this variable.
|