Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test Push Bullet API Call
# My Push Bullet Access Token
# Created via Profile Page https://www.pushbullet.com/#settings/account
$accessToken = 'o.oy3Un8Zb56FjJa8cQVNQuI1234567890'
# Push Bullet API URI
$apiURI = "https://api.pushbullet.com/"
# Web Request Header
$header = @{"Access-Token" = $accessToken}
# Test GET for my profile details
$me = Invoke-RestMethod -Method Get -Headers $header -Uri ($apiURI +"v2/users/me")
$me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.