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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mohsin-raza
Helper III
Helper III

API Post request by sending userid in the body

Hi !

I am working on a task. To sent a  request (Post: "url")  and (Content- type:"application/x-www-form-urlencoded ")  in Header  in "postman" .and for the  body : enable (raw) and text:: write my userId=" string"..

on sending and got the result  "challenge: string" in the form of json.

It works very fine on postman.

 

How can i implement same concepy  power bi?

How to make post request in power bi by sending userid in the body?

 

regards

 

 

 

 

2 REPLIES 2
mohsin-raza
Helper III
Helper III

@Anonymous 

Thanks for you reply 

how can make post request by sending  userid=" kgjljhgljhf23kjh" in the body ?

regards

Anonymous
Not applicable

Hi @mohsin-raza ,

Do you want to connect to API in Power BI? If yes, you can refer the following links to get it by using web connector.

How to get data from a REST API in Power BI for rookies

yingyinr_0-1655457566474.png

Connecting Power BI with API

In this case please try an approach from this link.


Web.Contents(
 "https://www.regonline.com/api/default.asmx/GetEvents",
 [
  Query=[ #"filter"="", #"orderBy"=""],
  ApiKeyName="APIToken"
 ])

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors