Hi,
Posting this here because I am sure its just me being a numpty!
I am trying to run a couple of queries on an online database (Zoho).
First Query is to generate a ticket, this is a https/ request so I set HTTP_SSL to 1 and run the query.
Let>HTTP_SSL=1
Let>PostData=LOGIN_ID=%Myname%&PASSWORD=%passw%&FROM_AGENT=true&servicename=ZohoCreator
HTTPRequest>https://accounts.zoho.com/login,,POST,PostData,strHTML
This works fine, I get my ticket back
Second request is a http/ link.
ReadFile>C:\logs\infile.txt,InFile
Let>Query=XMLString=%InFile%
Let>Uri=http://creator.zoho.com/%mylogin%/api/x ... =%MyTicket%
HTTPRequest>Uri,,POST,Query,strHTML
strHTML now contains:
-1
Just wondering if I have to reset HTTP_SSL and if so, to what?
HTTPRequest and HTTP_SSL
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7391
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Yes, you'll need to set HTTP_SSL back to 0:
Let>HTTP_SSL=0
Otherwise all subsequent HTTPRequests will use SSL.
Let>HTTP_SSL=0
Otherwise all subsequent HTTPRequests will use SSL.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?