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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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 @Anonymous,

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.