0

I am trying to send a push notification from Raspberry Pi to Pushbullet in Chrome PC from the following resource.

After typing the following commands, what should I enter when it asks for host password?

    sudo apt-get install curl
    curl -u [type your access code here] https://api.pushbullet.com/v2/pushes/ -d type=note -d title="Raspberry Pi" body="Hello World!"
    Enter password for host:
Namit Sinha
  • 1,415
  • 3
  • 16
  • 30

1 Answers1

0

Try launching the command with elevated privilege

sudo curl -u [type your access code here] https://api.pushbullet.com/v2/pushes/ -d type=note -d title="Raspberry Pi" body="Hello World!"`

alternatively you should write this to a .sh file ie a shell script and run it with elevated permissions as said in the resource you provided.

Namit Sinha
  • 1,415
  • 3
  • 16
  • 30