If you need to store images, videos, documents or other files and objects, you should save your objects not to a data base or disk, but to an Object Storage.
Documentation:
https://www.ng.bluemix.net/docs/services/ObjectStorage/index.html
Steps:
1. Get Access Token and Public URL
2. Get Account details
3. Create Container
4. Create Object
Get Access Token and Public URL
curl -X POST -H "Content-Type: application/json" -d '{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"id": "<userId>",
"password": "<password>"
}
}
},
"scope": {
"project": {
"id": "<projectId>"
}
}
}
}' 'https://identity.open.softlayer.com/v3/auth/tokens'