Yun upload file to server

You can change the normal GET to a POST method by simply adding -X POST in a command line like:

curl -X POST http://example.org/
... but curl will still think and act as if it sent a GET so it won't send any request body etc.

http://curl.haxx.se/docs/httpscripting.html#POST