Add param to apexrest to allow to set REST headers.

Signed-off-by: Alex Berg <chexxor@gmail.com>
Change paramMap order in parameters and method name in error callback.

Signed-off-by: Alex Berg <chexxor@gmail.com>
UPDATE: add in a queryMore function to the forcetk to allow simpler handling of the rest pagination urls.

Calling forcetkClient.ajax doesn't quite work as ajax adds on 'services/data' to the request, which is already present from successResponse.nextRecordsUrl.

Signed-off-by: Paul Roth <paulroth3d@gmail.com>
Fix the whitespacing to be more inline with the rest of the forcetk toolkit.

Signed-off-by: Paul Roth <paulroth3d@gmail.com>
cleanup: also adjust the whitespacing in the doc comments.

Signed-off-by: Paul Roth <paulroth3d@gmail.com>
also remove tabs on the initial doc comment

Signed-off-by: Paul Roth <paulroth3d@gmail.com>
Added RemoteTK
Only add Id to list of fields to be retrieved if it is not already there
Added mobile example for RemoteTK
Corrections
Added mobile version of RemoteTK demo
Use escape:false option rather than unescaping remote action result
Clarify readme
Merge pull request #16 from paulroth3d/master

Add in queryMore method to the forceTk toolkit
Merge pull request #15 from chexxor/master

Allow to set header for apexrest function.
Check http-prefixed content-* headers

The built-in web server in PHP 5.4 sets the Content-Length and Content-Type
headers in $_SERVER['HTTP_CONTENT_LENGTH'] and $_SERVER['HTTP_CONTENT_TYPE']
rather than $_SERVER['CONTENT_LENGTH'] and $_SERVER['CONTENT_TYPE'].
Add support for SOAP API

Pass through SOAPAction header, necessary when proxying requests to the
SOAP API.
Corrected search query param. Fixes #21
Merge branch 'master' of github-sfdc:developerforce/Force.com-JavaScript-REST-Toolkit
Add support for cloudforce.com instances

Allow proxy to send requests to cloudforce.com instances in addition to
*.salesforce.com and *.database.com ones.