Ajax, destinct methods for post and get. Any other type of requst type will have to use the more generic alternative.