Search code examples
iosweb-servicesasihttprequest

how to find the login and password fields of a website


I'm trying to log onto a website for my iPhone app. How do I find out the name of the fields for the username and password? I tried viewing the source using the javascript console but that doesn't seem to be working for me. If it is, then I don't understand why I'm getting a connection error.


Solution

  • Some websites deliberately obfuscate their login page, using JavaScript, so as to try and prevent software from using the web site.

    The Motley Fool is one website that does this. I'm sure there are others.