cURL / Mailing Lists / curl-users / Single Mail

curl-users

user and password

From: Wollentz Anders <anders.wollentz_at_volvo.com>
Date: Fri, 15 Feb 2013 13:17:28 +0000

Hi,

I am using curl at cli and wants to keep user names and passwords secret in Curl command lines.

curl -X POST -k -H "Username:yyy" -H "Password:xxx" https://vplexcliipadress/vplex/help

The simplest solution seems to be using -K -config config-.file

But I cannot get the config file contents correct, is there anyone that can help me with this?

curl -X POST -k -H "Username:service" -H "Password:Mi@Dim7T" https://10.221.228.26/vplex/help

Regards,

/Anders Wollentz

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-15