Put filename in the header
curl -H "Content-type: application/octet-stream" -H "Filename: install.log" -X POST http://127.0.0.1:5000/messages --data-binary @install.log
Wednesday, July 25, 2012
Subscribe to:
Posts (Atom)
-
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
-
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
-
By install php-xml, you may enable it. [root@localhost html]# yum install php-xml check: [root@localhost html]# php -m [PHP Modules] bz2 cal...