<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Oscar Andres</title>
    <description>The latest articles on DEV Community by Oscar Andres (@oscarsantiago).</description>
    <link>https://dev.to/oscarsantiago</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F365038%2F66b9fa3b-3ad4-4fee-aca1-8672739b26fa.jpeg</url>
      <title>DEV Community: Oscar Andres</title>
      <link>https://dev.to/oscarsantiago</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oscarsantiago"/>
    <language>en</language>
    <item>
      <title>Answer: send POST request in PHP to pushbullet API 401 error</title>
      <dc:creator>Oscar Andres</dc:creator>
      <pubDate>Wed, 18 Jan 2023 02:24:03 +0000</pubDate>
      <link>https://dev.to/oscarsantiago/answer-send-post-request-in-php-to-pushbullet-api-401-error-26pd</link>
      <guid>https://dev.to/oscarsantiago/answer-send-post-request-in-php-to-pushbullet-api-401-error-26pd</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/30470785/send-post-request-in-php-to-pushbullet-api-401-error/45573474#45573474" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: send POST request in PHP to pushbullet API 401 error
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Aug  8 '17&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/30470785/send-post-request-in-php-to-pushbullet-api-401-error/45573474#45573474" rel="noopener noreferrer"&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          1
        &lt;/div&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I know this is an old post but I was having the same problems with sendgrid that uses the same Authorization: Bearer APIKEY method as your website.&lt;/p&gt;
&lt;p&gt;I finally got it to work using raw php post using the following code&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$url = "your url";
$post_data = 'yourdata';

// Set&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/30470785/send-post-request-in-php-to-pushbullet-api-401-error/45573474#45573474" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>music</category>
      <category>discuss</category>
      <category>watercooler</category>
    </item>
  </channel>
</rss>
