On 7/14/2015 2:10 PM, Fitzgerald, Kevin wrote:
I have to connect to a web service that requires a username and password and as 
a result I cannot use the basic CURL POST logic. Does anyone have a program or 
example of how to use CURL to set up a custom POST? I need to send a request 
and then receive a response from the web service.

Please give more detail. Is your user and pass supposed to be sent as part of the post data? curl or libcurl? If it's the former you may be better off asking at curl-users. Why can't you do something like this, for example:

curl -u user:pass -d foo=bar http://website



-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to