Request.get(name)
Returns the value of a request parameter by its name (key).
Parameters
The method has the following parameter:
Parameters | Description |
---|---|
name | Name (key) of the request parameter. . |
Example
This example shows printing the value of three request parameters:
- email = [email protected]
- title = Engineer
- location = Barcelona
var email = request.get("email");
var title = request.get("title");
var location = request.get("location");
console.log(email);
console.log(title);
console.log(location);
[email protected]
Engineer
Barcelona