0

I am using Softlayer Object Storage REST API. I was told that below command line using CURL has been successful.

$ curl -i -XPUT -H "X-Auth-Token: AUTH_tkabcd" --data-binary "Created for testing REST client" https://dal05.objectstorage.softlayer.net/v1/AUTH_abcd/container2/file10.txt

I wish to upload files using Javascript so I have no clue how do I wrap the file in my request. Anyone please provide an example? A lot of thanks.

noob
  • 478
  • 3
  • 18

1 Answers1

0

Here some ideas and examples that can help you:

However, there is a customer who was not able to make rest request through Javascript. I will investigate about it, I will let you know any news.

Community
  • 1
  • 1