openstack - How to include or wrap the file or file content or file object when using Softlayer Object Storage REST API -
i using softlayer object storage rest api. told below command line using curl has been successful.
$ curl -i -xput -h "x-auth-token: auth_tkabcd" --data-binary "created testing rest client" https://dal05.objectstorage.softlayer.net/v1/auth_abcd/container2/file10.txt
i wish upload files using javascript have no clue how wrap file in request. please provide example? lot of thanks.
here ideas , examples can you:
- cors
- how consume restful service using jquery
- javascript rest client library [closed]
- https://ricardo147.files.wordpress.com/2012/08/image001.png
however, there customer not able make rest request through javascript. investigate it, let know news.
Comments
Post a Comment