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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How can I authorize with one address and pull data with another?

I'm trying to connect to a web service.

The only issue is that to authorize the url is:

      https://fake.com/ws/auth/login?usr_id=test&password=test 

While to get the actual json the url is: 

      https://fake.com/ws/cws/jobs/ 

 

I've tried adding the authorization to the json url but that doesn't work, i've also tried using the credentials with the Basic option on the Access Web Content screen, and so far no dice.

 

Wondering if anyone would know how to make this work. 

 

 

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I wonder what is the result when you use the credentials with the Basic option to authorize the first url. You may use the token returned from the first url in the second url's header or body with the web connector.

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

what happens if you connect to   https://fake.com/ws - does it refuse to connect or does it forward you to the auth sequence? If the latter then you can use   https://fake.com/ws as yor base URL.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors