curl-users
RE: HTTPS POST with Reply
Date: Fri, 15 Sep 2006 13:45:42 -0700
Kevin -
Outstanding.
Two issues I see here.
1. I have committed a CLM (Career Limiting Move) if I posted all that username, password, URL entry.
If there is a moderator that can edit and blank that out, I may retain a job.
2. I don't see the new password returned.
??
Thanks.
-dl
________________________________
From: curl-users-bounces_at_cool.haxx.se [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Kevin Carothers
Sent: Friday, September 15, 2006 1:29 PM
To: the curl tool
Subject: Re: HTTPS POST with Reply
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= XXXXXXXX &password= XXXXXXXX &command=requestnewpassword'
curl: (51) SSL: certificate subject name ' stg1-ss1.experian.com <http://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= XXXXXXXX &password= XXXXXX &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= XXXXXXXX &password= XXXXXXX &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= XXXXXXX &password= XXXXXXX &command=requestnewpassword <https://stg1-ss1.experian.com/securecontrol/logon.html?userid=%a0XXXXXXX%a0&password=%a0XXXXXXX%a0&command=requestnewpassword> "
... this appears to work....
KC
Received on 2006-09-15