I am using Robospice library along with Spring for my android app. The web service that I am using has a route where it requires an email parameter and returns a user object.
It responds a 201 CREATED status code whenever the sent email will create a new user or 200 OK if the email already has an existing user.
However they both fall on onRequestSuccess() of the RequestListener. How can I differentiate the response given by the web service?