Uploading file to the server with curlopt


#1

Pls help,me need change curl request from:
curl -X PUT http://13.95.126.217/remote.php/webdav/test/filename.jpg -k -u user:UaUdDEusy5C8 --data-binary @"C:\pathToFilee\filename.jpg"
at:
native_async("curlwrapper","easyperform", JSON.stringify(
{
write_to_string:true,
options:
{
CURLOPT_URL: "http://13.95.126.217/remote.php/webdav/test/filename.jpg",
CURLOPT_SSL_VERIFYHOST: "false",
CURLOPT_SSL_VERIFYPEER: "false",
CURLOPT_USERPWD: "user:UaUdDEusy5C8",
}
}))!

Server and user created specially for reception of the help