<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic POST request from Power BI Visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3698663#M49534</link>
    <description>&lt;P&gt;I tried to make a POST request to a dummy REST API from my custom visual. After I sent the POST request I got an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevForDay_0-1707907646381.png" style="width: 843px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1042546i657C40AD4BB4B1E7/image-dimensions/843x24?v=v2" width="843" height="24" role="button" title="DevForDay_0-1707907646381.png" alt="DevForDay_0-1707907646381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to put&amp;nbsp;sandboxVisualsEnabled=0 and&amp;nbsp;sandboxVisualsEnabled=1. I found an explanation in&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/it-it/blog/custom-visuals-sandbox/" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;article.&lt;/P&gt;&lt;P&gt;I also tried to add my URL to the privileges array in the capabilities.json file.&lt;/P&gt;&lt;P&gt;While I was watching&amp;nbsp;&lt;A href="https://youtu.be/LQB-q9SVyY4?t=1555" target="_self"&gt;this tutorial&lt;/A&gt;, the speaker mentioned that from the visuals we can do GET requests but not POST requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we make a POST request from custom visual to BE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 11:41:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-14T11:41:36Z</dc:date>
    <item>
      <title>POST request from Power BI Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3698663#M49534</link>
      <description>&lt;P&gt;I tried to make a POST request to a dummy REST API from my custom visual. After I sent the POST request I got an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevForDay_0-1707907646381.png" style="width: 843px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1042546i657C40AD4BB4B1E7/image-dimensions/843x24?v=v2" width="843" height="24" role="button" title="DevForDay_0-1707907646381.png" alt="DevForDay_0-1707907646381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to put&amp;nbsp;sandboxVisualsEnabled=0 and&amp;nbsp;sandboxVisualsEnabled=1. I found an explanation in&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/it-it/blog/custom-visuals-sandbox/" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;article.&lt;/P&gt;&lt;P&gt;I also tried to add my URL to the privileges array in the capabilities.json file.&lt;/P&gt;&lt;P&gt;While I was watching&amp;nbsp;&lt;A href="https://youtu.be/LQB-q9SVyY4?t=1555" target="_self"&gt;this tutorial&lt;/A&gt;, the speaker mentioned that from the visuals we can do GET requests but not POST requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we make a POST request from custom visual to BE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:41:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3698663#M49534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-14T11:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: POST request from Power BI Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3700586#M49547</link>
      <description>&lt;P&gt;HI&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I suppose they may be related to security reason. AFAIK, some official custom visual(e.g. R visual) also not allow you directly send request to access/view external resource from visual itself.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 07:52:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3700586#M49547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T07:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: POST request from Power BI Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3700648#M49548</link>
      <description>&lt;P&gt;I was able to do a GET request from custom visual but not POST. I was wondering what would be the best approach if I want to make an application like Power BI visual that can do POST requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know something like that?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 08:26:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POST-request-from-Power-BI-Visual/m-p/3700648#M49548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T08:26:08Z</dc:date>
    </item>
  </channel>
</rss>

