2015-04-26 0:40 GMT+03:00 bruce <badouglas@gmail.com>:
(posted to fedora just in case as well.. thanks!!)

Hi.

As a test, trying to access

https://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=270405&demoKey=d

via curl.

I've tried the following combinations with no luck. Any
pointers/thoughts. I'm pretty sure Ive done this before, but can't
recall what I'm missing.

curl -vvv  -A 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
Firefox/31.0''  -L
"https://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=270405&demoKey=d"
 --cacert /apps/parseapp2/cacert.pem


curl -vvv  -A 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
Firefox/31.0''  -L
"https://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=270405&demoKey=d"
 -k

curl -vvv  -A 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
Firefox/31.0''  -L
"https://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=270405&demoKey=d"


The test is being run on centos 6.5

thanks
--

In theory you should make initial request first to grab bkstr.com (+Akamai) cookies, but in reality

curl -vvv -A "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0" -L "https://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=270405&demoKey=d" -b "JSESSIONID="

works fine for that url.