Validate input http method. Add form data payload functions