Now that you have obtained an OAuth access token, you are ready to try the Force.com REST API. Set the access token as the environment variable
$TOKEN. Also, be sure to replace
na15 in the following examples with your own instance of Force.com. To identify your instance, look at the
instance_url field of the OAuth username-password flow, or the URL in your Web browser when you log in to Force.com.
This section is not a complete reference to the REST API. Consult the Force.com REST API Developer’s Guide, found at www.salesforce.com/us/developer/docs/api_rest/index.htm, for the latest and most detailed information on the REST API, which Salesforce continuously improves in each major release of the platform. ...