Tag Archives: rest

Force.com REST APIs

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.

Mobile Packs Accelerate Developement

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.

Developer Content Contest #5 — Apex REST

Apex REST, recently enhanced in Spring ’12, makes it easy for you to create custom RESTful Web services using Apex. In this challenge, we’d like you to show off some of the cool custom APIs that you’ve developed with Apex REST and teach the community how to harness the full power of Apex REST. Head […]

Insanely Simple Python REST Script

One of the main reasons to adopt REST is the simplicity of the API, compared to the juggling of formats required to send and receive SOAP messages.  We’ve had a long history of creating toolkits and libraries to ease the burden of using SOAP as a transport – so much so that when I first […]


Chatter REST API Enhancements

The Chatter REST API is GA in Winter '12. Here is a highlight of some of the recent changes and additions.


New Force.com and Database.com Ruby gem now available

We are excited to announce the availability of the new Force.com and Database.com Ruby gem, with full source available in Github. This gem is a great example of how an open source project started way back in 2005, has evolved over time thanks to the active Ruby and Force.com community. The gem, written to leverage the Force.com […]