<form method="post" action="https://www.somewhere.com/names.nsf?Login"> <input type=hidden name="username" value="John Doe" maxlength=256> <input type=hidden name="password" value="ScoobyDOO" type="password" maxlength=256> <input type=hidden name="redirectto" value="/xmin.nsf/LoginCheck?OpenUser"> </form>How would I go about trying to login from VFP? I've seen some code (shown below) but I don't know if it is of any use to me here:
LOCAL ; oxml_dom AS Microsoft.XMLDOM, ; oxmlhttp AS Microsoft.XMLHTTP LOCAL lcXMLString AS STRING lcXMLString = FILETOSTR('C:\webservice.xml') oxml_dom = CREATEOBJECT("Microsoft.XMLDOM") oxmlhttp = CREATEOBJECT("Microsoft.XMLHTTP") oxmlhttp.OPEN("POST", "https://www.somewhere.com/names.nsf?login", .F.) oxmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded") oxmlhttp.SEND(lcXMLString) IF oxmlhttp.STATUS <> 200 ... ENDIFTIA