linux guru
Wednesday, July 25, 2012
curl send file with filename
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment