villadora / cayley.js

Nodejs Client for Cayley
Other
57 stars 14 forks source link

Fix for API -- data received was always null. #6

Closed lwansbrough closed 8 years ago

lwansbrough commented 9 years ago

Perhaps this was a change with the request module (I know they made some breaking changes at some point) - but adding json: true to the POST was causing null to be returned from cayley. Removing json: true and manually parsing in the response handler fixed this.