Skip to content

couchand/force-rest-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

force-rest-cli

Simple scripts to interact with the Force.com REST API from the command line.

  • getting started
  • reference
  • more information

getting started

You must update the login script with your OAuth credentials and the appropriate URLs. Then after running it you will be able to make requests.

reference

  • login.sh

    ./login.sh USERNAME PASSWORD

Perform username-password OAuth authentication and set an environment variable with the Force.com session id.

You must log in before making any other requests.

  • get.sh

    ./get.sh path/to/resource

Makes an HTTP get request for the given API resource.

Returns the JSON returned by the request.

  • post.sh

    ./post.sh path/to/resource data_to_post.json HTTP_METHOD

Make an HTTP post, patch or delete to the given API resource. Pass the specified data as the body of the request.

Returns the JSON returned by the request.

more information

http://www.salesforce.com/us/developer/docs/api_rest/index.htm

About

Simple CLI scripts for interacting with the Force.com Rest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages