I have just started learning Rest API from developer guide.
I'm not able to understand the difference in Web Server and User-Agent flow, both seem to be same, the only difference in Web Server is that it Exchange authorization code for an access token. But when I tested both in SOAP UI both seem to be same and both are asking for salesforce credentials to login in HTML response.
My questions are:
- What's the difference between these two and when to use what OAuth Authentication?
- My response body is in XML not in JSON as mentioned in the developer guide. In JSON I'm getting this message for both OAuth The content you are trying to view cannot be viewed as JSON