WinHttpRequest.5.1 from Newbie
I'm out of my element and could use some basic help. I'm using COM to submit the following WinHttpRequest request via AutoHotKey
URL:="https://crm.zoho.com/crm/private/xml/Leads/getMyRecords"
Params:="?authtoken=" . MyToken . "=crmapi&newFormat=1&selectColumns=All"
WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1")
WebRequest.Open("POST",URL) ;Upper case on "Post" matters
WebRequest.Send(Params)
Response:=WebRequest.ResponseText
and am receiving the following error:
<response><error><code>4834</code><message>Invalid Ticket Id</message></error></response>
Can anyone help point me in the write direction? As I mentioned I am not a programmer but I can typically adapt code from someone else. While having working code would be helpful, I'd also love any references where I can read-up and educate myself!
1000 thanks in Advance!!!