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:

however, there customer not able make rest request through javascript. investigate it, let know news.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -