curl-users
Re: how to get "--data " and "-T" value from curl at the same time in a method
From: zin tun kyaw <jiancai88_at_gmail.com>
Date: Fri, 3 Jun 2011 08:56:20 +0800
Date: Fri, 3 Jun 2011 08:56:20 +0800
>
> hi daniel,
>
how about i used --upload-file with data ?
It is also same with -T and --data.
If i can use how to get --upload-file value from curl in web service
method and how to set that into variable.
curl --upload-file C:\Users\a.jpg --data " { "metadata" :
>> "username":"name"} -H
>> "Content-Type:application/.." http://localhost:8080/user/folder/a.jpg -v
>>
>>
>> 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 2011-06-03