iosrestparse-platform

How to download Parse.com file type using REST API?


The Parse.com REST API documentation lists many ways of interacting with Parse.com data, such as uploading and downloading classes. It also describes uploading files. But it does not mention how to download a file from Parse.com. Does anyone know if this is possible, and if so, how to do it?

The Parse.com REST API docs are here: Parse.com REST API


Solution

  • When you query for a class that has a file column, Parse will respond with an array of objects which match this query. The file column will be in the following format:

    { "url": "https://files.parse.com/.../hello.txt", "name": "...hello.txt" }

    The url key contains the file's url, which is all you need to download the file.