Paradox Community

Items in pnews.paradox-discussions

Subject:Re: semi off topic - cURL help
Date:18 Mar 2019 23:27:32 -0400
From:"Kevin Zawicki" <numberjack@wi.rr.com>
Newsgroups:pnews.paradox-discussions

right
'

I did that, but the contents of the show in chrome are confusing.

curl "https://retailerservices.diamondcomics.com/Login/Login?ReturnUrl=^%^2fHome^%^2fIndex"
-H "Connection: keep-alive" -H "Cache-Control: max-age=0" -H "Origin: https://retailerservices.diamondcomics.com"
-H "Upgrade-Insecure-Requests: 1" -H "Content-Type: application/x-www-form-urlencoded"
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
-H "Referer: https://retailerservices.diamondcomics.com/Login/Login?ReturnUrl=^%^2fHome^%^2fIndex"
-H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: en-US,en;q=0.9"
-H "Cookie: _ga=GA1.2.50460841.1551927155; _gid=GA1.2.740108162.1551927155;
__qca=P0-1882114835-1551927155190; __utma=50487996.50460841.1551927155.1551927198.1551927198.1;
__utmc=50487996; __utmz=50487996.1551927198.1.1.utmcsr=retailer.diamondcomics.com^|utmccn=(referral)^|utmcmd=referral^|utmcct=/Home/1/1/28/225;
__utmt=1; ASP.NET_SessionId=vroayxspzan2wllbmwnqrj3s; SERVERID=ckypr2^|XICJp^|XICHn;
__utmb=50487996.6.10.1551927198" --data "UserName=XXXXXXX^&EnteredCustNo=^&Password=XXXXX^&RememberMe=false^&Submit=Login"
--compressed



modridirkac <jure.zorko@gmail.com> wrote:
>Then you will have to do some "manual" hacking first.
>Use chrome or something to see, what variables does web page send to web
 
>server, then
>use curl and fill those variables with user/pass.
>
>https://stackoverflow.com/questions/13782198/how-to-do-a-put-request-with-curl
>
>Jure


Copyright © 2004 thedbcommunity.com