curl-users
Re: HTTPS POST with Reply
Date: Fri, 15 Sep 2006 13:28:35 -0700
On 9/15/06, Lamar, Dave <dlamar_at_gottschalks.com> wrote:
>
> Dan -
> Nope. The ip comes back with -
> curl: (6) Couldn't resolve host
> 'userid=fcxlt179&password=Go2E1in4u&command=requestnewpassword'
> curl: (51) SSL: certificate subject name 'stg1-ss1.experian.com' does
> not match target host name '205.174.34.99'
Aha! Information!
Almost exactly as I said earlier- your website is redirecting you.
When I send your info:
$curl -k "stg1-ss1.experian.com" -d
"userid=fcxlt179&password=Go2E1in4u&command=requestnewpassword"
...I get
[---]
<script language='javascript'>
location.replace ("
https://stg1-ss1.experian.com/securecontrol/logon.html");
</script>
[---]
...and THEN when I use that provided url:
Q:\Felts_06>curl -v -k "
https://stg1-ss1.experian.com/securecontrol/logon.html" -d
"userid=fcxlt179&password=Go2E1in4u&command=requestnewpassword"
...I get:
Meth od Not Allowed
< Date: Fri, 15 Sep 2006 20:24:11 GMT
< Content-length: 124
< Content-type: text/html
< Allow: HEAD, GET
[---]
.so- trying the GET MEthod....
$curl -v "
https://stg1-ss1.experian.com/securecontrol/logon.html?userid=fcxlt179&password=Go2E1in4u&command=requestnewpassword
"
... this appears to work....
KC
Received on 2006-09-15