function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan Vance 5Jonathan Vance 5 

Force.com Workbook REST API section - Where do I find my OAuth token?

I have been working through the Force.com Workbook, which explains everything clearly and completely until the REST API section beginning on page 91. At that point, the Workbook stops explaining steps in detail. Does it mean to run curl -s -H from the command line? Do we need to supply our access token as a parameter? Can I easily find my access token? Where do I find it?

http://www.salesforce.com/us/developer/docs/workbook/forcecom_workbook.pdf
PratikPratik (Salesforce Developers) 
Hi Jonathan,

Check this for details of OAuth:
https://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com

Thanks,
Pratik
Eric FlammEric Flamm
I don't think Pratik's answer is really useful when it comes to following the Force.com Workbook section on using the API - it's not like we're actually building a full application to provide an authentication token just to play with the API. I found this app on the AppExchange: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IjwLEAS&tab=g (https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IjwLEAS&tab=g)
RestExplorer lets you execute API calls from within a Salesforce App - just be sure to follow the post-install instructions to get the app configuration stored in your environment.