make it look like an array should
validate input params and body content
Merge pull request #4 from ZombiePro/task/use_regex_to_validate_params

Task/use regex to validate params