I wanna do a POST request to page:
But I cant make it work cos it has HTTPS. I tried GET with set cookies and I got all the datas from acc, but when tried POST it did nothing...some ideas ?
PS: This request is for depositting(reinvesting) money. I am too lazy to do t every 35h.
PS2: This is HYIP dont invest there money(scamers).
My code:
Code:
#include <Inet.au3> #include <String.au3> #include "KeyCodes.au3" #include <WinHttp.au3> #include <Constants.au3> #include <AutoItConstants.au3> ;cookies $SID="o12uanmala751uvvn4sl5oa6j1" $password="900-a64df76812f14ae2f250d1b584ccecc8" $suma="3.01" ;POST $http_protocol = ObjCreate("winhttp.winhttprequest.5.1") $http_protocol.open("POST", "http://dayeer.com/index.php?a=deposit") $http_protocol.setrequestheader("Cookie", "PHPSESSID="&$SID&";password="&$password);&";" $http_protocol.setrequestheader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8") $http_protocol.setrequestheader("X-Requested-With", "XMLHttpRequest") Global $post_packet_shop = "a=deposit&action=confirm&type=account_18&h_id=1&amount="&$suma&"&compound=0" $http_protocol.send($post_packet_shop) $http_protocol.waitforresponse() $HTML=$http_protocol.ResponseText() ConsoleWrite($HTML)