1 of 1 people found this helpful
You need using variable on both -c and -b optins.
means making file named "cookie", so doesn't work on FM.
Thank you. I was wondering on that however I tried
but it still gave me the same results - logged in on the password page, but then when I try to get the data page it says page is being redirected and if I follow the page it takes me to the login page and says I need to login. Is there something else I am missing?
Do you see some cookie values in the variable?
Second URL looks redirecting, and using abother value for Pro parameter than sccuseeded command line. Are these correct?
This may not the matter while succeeded on command line, but "Page" have same value as url itself, so doesn't it work with shorter one?
The site looks having "REST API", are you using it?
Yes, the cookie variable contains something like this according to the data viewer (I modified user id and company for this post::
# Netscape HTTP Cookie File
# This file was generated by libcurl! Edit at your own risk.
.www.abfs.com TRUE / FALSE 2126840400 USAGE 10%2E93%2E16%2E250%7E2017613213456%2D1762977531%7E10%2E93%2E16%2E250
www.abfs.com FALSE / FALSE 1528943696 wa vLA=6%2F13%2F2017+9%3A34%3A56+PM&pID=1&vID=
.www.abfs.com TRUE / FALSE 2126840400 USER WP=hAAADOjHuzjgflOyjzm2IJbIAyXBYUf9jjwLBEARtuiOGlYX&WU=MYUSERID&WEBID=ERC0Z0N4&APK=+MYCOMPANY++++++++++++DGGCCHCCDHCDBOBLBJCCFKCCELELFM&FRTFWRD=N&MQACCESSTYPE=L&RID=GQZYP2E3
www.abfs.com FALSE / FALSE 1499922000 vs 1=009E07FF9E0C41F6
Yes , the 2nd url is correct. It works fine from Base Elements Execute_SystemCommand and also from the curl command line and from a browser that is logged in already.
The site does have a rest api, however they don't have an api command for retrieving the shipping cost yet.