Browse Source

Correction to the HTTP method to posting snapshot requests

pull/2/head
Colin Jones 12 years ago
parent
commit
d21a3834ee
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      lib/api/snapshot.js

+ 1
- 3
lib/api/snapshot.js View File

@ -1,5 +1,3 @@
snapshot.js
var extend = require('extend');
var util = require('util');
var v8type = require('v8type');
@ -42,7 +40,7 @@ snapshot_api.prototype.add_snapshot = function(snapshot, callback){
this.request('POST', '/graph/snapshot', {body: snapshot}, callback);
this.request('GET', '/graph/snapshot', {query: snapshot}, callback);
};


Loading…
Cancel
Save