This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello I want to connect to data on my webservice
h**p://*****.com/provision/user/user_login.h*ml
I need parameters in the body clause: user, password, clientId
I wrote this c# code in postman:
var client = new RestClient("h**p://******.com/provision/user....ht ml");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "c153f34d-5c8b-46dd-b9e7-7901aa6e62fc");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("content-type", "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW");
request.AddParameter("multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"user\"\r\n\r\nUSER\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nPASSWORD\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"clientId\"\r\n\r\nCLIENTID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
But i didnt know how to use it in the power query editor. Some code example to transform my code?
Thanks a lot
Hello I want to connect to website
https://*****.com/provision/user/user_login.html
I need parameters in the body clause: user, password, clientId
I wrote this c# code in postman:
var client = new RestClient("https://************.com/provision/user/user_login.html");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "c153f34d-5c8b-46dd-b9e7-7901aa6e62fc");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("content-type", "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW");
request.AddParameter("multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"user\"\r\n\r\nUSER\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nPASSWORD\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"clientId\"\r\n\r\nCLIENTID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
But i didnt know how to use it in the power query editor. Some code example to transform my code?
Thanks a lot.
Hello I want to connect to website
https://*****.com/provision/user/user_login.html
I need parameters in the body clause: user, password, clientId
I wrote this c# code in postman:
var client = new RestClient("https://ws.xxx.com/provision/user/user_login.html");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "c153f34d-5c8b-46dd-b9e7-7901aa6e62fc");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("content-type", "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW");
request.AddParameter("multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"user\"\r\n\r\nUSER\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nPASSWORD\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"clientId\"\r\n\r\nCLIENTID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
But i didnt know how to use it in the power query editor. Some code example to transform my code?
Thanks a lot.
Hello I want to connect to data on my webservice
I need parameters in the body clause: user, password, clientId
I wrote this c# code in postman:
var client = new RestClient("h**p://******.c*m/provision/user....htm*");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "c153f34d-5c8b-46dd-b9e7-7901aa6e62fc");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("content-type", "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW");
request.AddParameter("multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"user\"\r\n\r\nUSER\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nPASSWORD\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"clientId\"\r\n\r\nCLIENTID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
But i didnt know how to use it in the power query editor. Some code example to transform my code?
Thanks a lot
Hi @jmgrdg
What kind webservice is your link?
"h**p://*****.com/provision/user/user_login.h*ml"
When you use Postman, i would suggest you refer to this thread.
Best Regards
Maggie
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 31 | |
| 23 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 58 | |
| 31 | |
| 31 | |
| 23 |