web.get
web.get
Function
Read a URL query parameter object.
Syntax
web.get
Parameters
No parameters.
Return value
| Type | Description |
|---|---|
| Object | Returns the URL query parameter object. |
Object structure
| Field | Type | Description |
|---|---|---|
| Any query parameter name | String | URL decoded query parameter value. When the parameter does not exist, the read result is Empty. |
Example
// Request: GET /hello?name=BT result = web.get.name // Output: BT print result
Notes
- Query parameters with the same name retain the last written value according to the current parsing result.
- Returns an empty Object if there is no query string.