>LOCAL HttpRequest AS MSXML2.ServerXMLHTTP60 >LOCAL HttpResponseEndPoint AS String >LOCAL Reply AS String > >m.HttpResponseEndPoint = "https://www.levelextreme.com" > >m.HttpRequest = CREATEOBJECT("MSXML2.ServerXMLHTTP.6.0") > >m.HttpRequest.Open("GET", m.HttpResponseEndPoint, .F.) >m.HttpRequest.Send() > >m.Reply = m.HttpRequest.Responsetext > >? m.Reply >Your code works, as you wrote it. But I need to take just one line from your code, that creates httpRequest and add parameters to it.
m.HttpRequest = CREATEOBJECT("MSXML2.ServerXMLHTTP.6.0") m.HttpRequest.AddParameter("grant_type", "password")The second line above fails. If you know or can see what is wrong with adding a parameter the way I did, please let me know.