Add the logic to validate http request required parameters