cURL / Mailing Lists / curl-users / Single Mail

curl-users

Newbie question

From: Ye, Wilson <wilsonye_at_paulhastings.com>
Date: Fri, 28 Dec 2007 17:00:14 -0800

I trying to get this web login page working but seem to have encountered
a problem but I can not seem to resolve the problem. Here's two format
of passing the login and password to the login page using two different
parameters:
 
curl -d user=Nexx&password=Mu%244@%40p91&switch=Login%40In
https://login.phxxx.com
 
OR
 
curl -F "user=Nexx" -F "password=Mu$V_at_p91" -F "switch=Login In"
https://login.phxxx.com
 
Questions:
 
NOTE: I have the a secure login web page.
 
1. Using the two different methods, are these correct and if not, can
you let me know what is specifically wrong I'm doing?
 
2. Also, how can I determine if I'm getting the correct result base on
the output generated by the trace?
 
BTW: It seems to be easy but it seems I'm missing a step or another
parameter or something I'm trying to point down.
 
Please let me know.
 
Thanks.

_________________________________________________________
*********************************************************
IRS Circular 230 Disclosure: As required by U.S.
Treasury Regulations governing tax practice, you are
hereby advised that any written tax advice contained
herein was not written or intended to be used (and cannot
be used) by any taxpayer for the purpose of avoiding
penalties that may be imposed under the U.S. Internal
Revenue Code.
*********************************************************

This message is sent by a law firm and may contain
information that is privileged or confidential. If you
received this transmission in error, please notify the
sender by reply e-mail and delete the message and any
attachments.

For additional information, please visit our website at
www.paulhastings.com.
Received on 2007-12-29