Skip to main content

Debate on GET vs POST with RESTful Service

So I have an ajax call that calls a controller action that fires off a package for execution that is separate from my main application which returns a result. That result (a success or failure) is what I want returned from that controller action and the ajax action is currently a GET request with the parameters for the package being sent with the request. Should this be a GET request to be 'RESTful', or should it be a POST request?

nobody
  • 8.3k
  • 13
  • 62
  • 98