send POST request in PHP to pushbullet API 401 error
问题 I'm trying to send simple push notifications with pushbullet just through using the email and sending those to the linked account to avoid needing account data. (see reference here: https://docs.pushbullet.com/#pushes) Therefore I'm using a non cURL-method in php that I (not only) found here: How do I send a POST request with PHP? Unfortunately I get back an error as following: <br /> <b>Warning</b>: file_get_contents(https://api.pushbullet.com/v2/pushes): failed to open stream: HTTP request