Tag Archives: rest

ForceJS 2: Modern JavaScript Library for the Salesforce REST APIs

ForceJS is an open source library that makes it easy to work with the Salesforce REST APIs in JavaScript applications. ForceJS can be used to develop browser-based apps, hybrid mobile apps using the Salesforce Mobile SDK and Apache Cordova, and to authenticate with Salesforce when using Lightning Out. The JavaScript world has changed a lot […]

Using Paw To Work With Salesforce REST APIs for Mobile Backends

Paw, a REST client for the Mac, makes working with the Salesforce APIs easy. Here's how you configure it to handle authentication and multiple environments. Download the the config file now.

BulkTK – Calling the Force.com Bulk API from Visualforce Pages

Building on the Force.com JavaScript REST Toolkit (ForceTK), 'BulkTK', a Force.com Bulk API JavaScript toolkit, allows you to manipulate thousands of records at a time from JavaScript in the browser. Learn about its creation and try it out!

Python and the Force.com REST API: Simple simple-salesforce example

While losing code is a bummer, I always say that when life throws you lost code you hand life back new refactored code. Many moons ago I posted about an Insanely Simple Python Script that used the Salesforce REST API's. It was later updated and eventually evolved into a longer script that I used for demonstrations. Unfortunately I recently lost the code to said longer script, but I still wanted a similar demo. And so I recently discovered simple-salesforce, a Python REST API client for Salesforce which uses more moderns libs like requests to get a similar job done.

Using the Salesforce Analytics API on a Visualforce Page

The new Analytics REST API, delivered in Winter '14, gives developers programmatic access to report data defined in the Salesforce report builder. Discover how you can call the Analytics API from JavaScript.

5 Ways to Make Your Mobile Apps Faster with the Chatter REST API

The Salesforce.com mobile apps are powered by the same public APIs that developers use. Find out about some of the innovative features we've added to the Chatter REST API to help us—and you—develop faster mobile apps.

HTML5, AngularJS, Backbone Mobile Service Packs

With the announcement of Salesforce Platform Mobile Services comes a new set of developer tools called Mobile Packs. Mobile Packs built on popular Javascript libraries like AngularJS, Backbone,js and jQuery Mobile to make developing robust business apps for mobile devices using HTML5 while providing idiomatic access to the Salesforce Platform.

Using PHP for Canvas Applications

Canvas is a great and simple method of including your third party integrations within the Salesforce UI, and PHP is still one of the most commonly used web application languages on the planet - so how do you use these two great technologies together? Using Canvas with the language of your choice is very similar to integrating with our API's - the first real obstacle is authenticating the user. After that you can access our API's, and Canvas gives a speedy path to doing that with just JavaScript.

Testing HTTP Callouts with Static Data in Winter ’13

One of the most eagerly awaited Winter '13 features, at least for developers, has been the ability to test Apex callouts. In this blog entry, I look at how you can mock up callout responses using data in static resources.

NOT Calling the REST API from JavaScript in Visualforce Pages!

The RemoteTK Visualforce Custom Component (comprising RemoteTK.component and RemoteTKController.cls) provides an abstraction very similar to the Force.com REST API, implemented via @RemoteAction methods in the component's controller. RemoteTK offers similar functionality to forcetk.js, without consuming API calls.