cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Enable javascript with curl

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 12 May 2016 20:26:05 -0400

On 5/11/2016 6:42 AM, Sourin Maiti wrote:
> Thanks for your reqply but It didn't help, I ran a session which is
> still running and copied the cookie from there
>
> curl --cookie "JSESSIONID=0000TKAoqeIkeu21-1eyOKL-8zq:180reu25m;
> path=/" --data-binary @postdata.txt -H "Content-Type:
> text/plain;charset=utf-8" --referer
> "http://xxxxxxxxx.yyyyy.net:xxxxx/AirShopMonitor/monitor"
> "http://xxxxxxxxx.yyyyy.net:xxxxx/AirShopMonitor/monitor/UIDL?repaintAll=1&sh=768&sw=1364&cw=1364&ch=629&vw=1364&vh=629&fr="
>
> below is the response
>
> for(;;);[{"changes":[], "meta" : {"appError":
> {"caption":"Communication problem","message" : "Take note of any
> unsaved data, and <u>click here<\/u> to continue.<br\/><br\/>Invalid
> security key.","url" : null}}, "resources": {}, "locales":[]}]
>
> I tried different combination by removing sh sw cw strings, but result
> is same for all requests.
>
> here postdata.txt has only "init"
> 5 May 11 10:02 postdata.txt

I can't help you with that. I suggest you contact the company as I've
mentioned. Barring that I think it will be easier for you to use a
javascript engine or imacros or something and not libcurl to automate
that task.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-13