Input.remote
Input.remote($httpMethod, $fieldName, $validationRule)
Description
Get an input field sent in the request for the given $httpMethod
('get' or 'post').
This method allows requests from outside the local domain, without a CSRF token.
The value will be validated per $validationRule
. (See Input Validation)
// post data: { userId: 12345, age: 39 } Input.remote('post', 'userId', 'id'); //= 12345