Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DevForDay
Frequent Visitor

POST request from Power BI Visual

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 

DevForDay_0-1707907646381.png

I tried to put sandboxVisualsEnabled=0 and sandboxVisualsEnabled=1. I found an explanation in this article.

I also tried to add my URL to the privileges array in the capabilities.json file.

While I was watching this tutorial, the speaker mentioned that from the visuals we can do GET requests but not POST requests.

 

Can we make a POST request from custom visual to BE?

 

2 REPLIES 2
DevForDay
Frequent Visitor

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.

 

Do you know something like that?

Anonymous
Not applicable

HI @DevForDay,

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.

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.