alexwhitman / node-pushbullet-api

PushBullet API module for Node.js
165 stars 36 forks source link

Can't get the headers info? #39

Closed Sowmayjain closed 6 years ago

Sowmayjain commented 6 years ago

https://docs.pushbullet.com/#ratelimiting

pusher.note(email, title, note, function(err, res) { console.log(res); });

alexwhitman commented 6 years ago

Fixed in 2.3.0. A fullResponses option can be used to make response objects be returned instead of just the response body. From the object you can get access to the headers.

mckaycr commented 4 years ago

I'm still struggling with this. with fullResponses set to true, there doesn't seem to be any changes to the response object.