Jump to content

downloading page then searching xhtml for particular tag with specific name


schoi

Recommended Posts

I'm integrating two sites together for a friend.   However the site I'm integrating to has a security token system within the the login form. It's only a hidden text field. I can use curl to programmatically post the username and password to their login script and it works. but how do I obtain the token? It gives an error saying "invalid authenticity token"  I was thinking of downloading the page then searching the xhtml but how do I search for an input tag with a given name?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.