curl-users
Reading url request from a file ?
Date: Thu, 2 Feb 2012 15:14:25 +0100
Hi,
I would like to use curl but reading headers which I send from a file
such http://pastebin.com/TcP0UVbd
I'm thiniking in shell scripting (perl, awk ..), but maybe there is
another easy method to do it
I would like something like curl --read-request-from-file myfile
I didn't find any like it in internet, but probabbly someone though
in that before
Do you have any idea or I need to write an bash function which
convert headers to -H curl switch , and use $() bash operator (and add
data post which is included in the file too)?
Thanks !
-------------------------------------------------------------------
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 2012-02-02