Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Fixed missing comma and err/error in example.
Browse files Browse the repository at this point in the history
kellyjandrews committed Jan 26, 2015
1 parent 4c1481c commit 02606d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -55,15 +55,15 @@ var RestClient = new FuelRest( options );

```js
var options = {
uri: '/platform/v1/endpoints'
uri: '/platform/v1/endpoints',
headers: {}
// other request options
};

RestClient.get( options, function( err, response ) {
if( err ) {
// error here
console.log( error );
console.log( err );
}

// will be delivered with 200, 400, 401, 500, etc status codes

0 comments on commit 02606d2

Please sign in to comment.