REST API using Workbench
REST API using Workbench We can use Workbench tool to test the REST API in any Salesforce org. Let us discuss some popular scenarios to play with using Workbench tool in our Org. In order to play with Rest API, we need to login to our Salesforce org --> Then go to Workbench ( https://workbench.developerforce.com ) and --> Go to menu Utilities --> Select the REST Explorer . - After selecting the Rest Explorer, we would have so many HTTP methods to choose and to perform any action to our org. - Depending upon the requirement, we might use different methods at different scenarios. Some of the important methods as mentioned below, HTTP Method Description GET Retrieve data identified by a URL. POST Create a resource or post data to the server. DELETE Delete a resource identified by a URL. PUT Create or replace the resource sent in the request body. Scenario 1: Fetch the complete list of objects in a salesforce org. - Just...