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
Digger
Post Patron
Post Patron

Web.contents regex

How do get value from Web.contents response

for example

<input type="hidden" name="authenticity_token" value="sUX0u4idK1B1PuhPKIvRI/vlO3iuTeGvK7MLoJZ9X+Ag==">

 

i need get authenticity_token value

but got empty values

Digger_0-1634823553505.png

 

How to do that?

1 ACCEPTED SOLUTION
Digger
Post Patron
Post Patron

solved
= Html.Table(Search, {{"Input", "[name=""authenticity_token""]", each [Attributes][value]}})

View solution in original post

5 REPLIES 5
Digger
Post Patron
Post Patron

solved
= Html.Table(Search, {{"Input", "[name=""authenticity_token""]", each [Attributes][value]}})

amitchandak
Super User
Super User

@amitchandak  yes, but your example does not extract anything from page, you must provide auth token, but dont have it, as first call i must get auth token from login page and then send credentials both with token

@amitchandak  ofcource nobody has auth token, as it is inside input tag, and you example will not work for anybody

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.