Upload a local file to the QuickBlox cloud storage. The request is a multipart HTTP request where one part is a JSON object and the other part is the content of the file itself. To upload a file, proceed as following:
- Create File. Make sure to create an entity for a file within the system - a blob, before uploading it.
- Upload File. An upload link is obtained from the response to the create file request. The link has expiration time so if it gets expired, you should obtain a new link using the create file request.
The maximum size of the uploaded file depends on the membership plan.