Salesforce REST API using Jquery | How To

In my last post here , we tried calling AJAX Tool from browser console, but lately I tried making a bit of more modification to call rest A...

In my last post here, we tried calling AJAX Tool from browser console, but lately I tried making a bit of more modification to call rest API and using oAuth but all through the javascript developer console

This turn out to be easier than expected, all you need to make sure here the when you jQuery CDN which I use in the example below, make sure it has https as we use salesforce <instances> which has https (secured) content

jqcdn can be found here 

So clearly using the script below you can fairly bring the data on console log




Final Result


Happy Coding ! 

What Others Are Reading