Adding case statement to check method and determine how to parameterize on requests other than get