Use cURL or Workbench to obtain data about your organization.
Run a Report with Workbench
You can use the Workbench REST Explorer to make HTTP requests to Salesforce and obtain response data.
-
Log in to your organization.
-
Open a new browser tab and navigate to
https://developer.salesforce.com/page/Workbench. -
Log in to Workbench and allow access to your organization. Workbench is a public site and doesn’t retain your data.
-
Click Utilities | REST Explorer.
-
Choose GET as the HTTP method. The Execute text box is prepopulated with a portion of a resource path. Add the remaining information for your resource. For example, if your cURL syntax is
https://MyDomainName.my.salesforce.com/services/data/66.0/analytics/reports -H "Authorization: Bearer token"type
/services/data/66.0/analytics/reports -
Click Execute.
-
Click Expand All or Show Raw Response to view your data. Show Raw Response shows the JSON format response
tip: If you receive a “Service not found” message, verify your resource path.