Updated example using Validate() to check the request