[英]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. Parse.com REST API文档列出了许多与Parse.com数据进行交互的方式,例如上载和下载类。 It also describes uploading files.
它还描述了上传文件。 But it does not mention how to download a file from Parse.com.
但是它没有提到如何从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 Parse.com REST API文档在这里: Parse.com REST API
When you query for a class that has a file
column, Parse will respond with an array of objects which match this query. 当您查询具有
file
列的类时,Parse将使用与该查询匹配的对象数组进行响应。 The file
column will be in the following format: file
列将采用以下格式:
{ "url": " https://files.parse.com/.../hello.txt ", "name": "...hello.txt" } {“ 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. url
键包含文件的url,这是下载文件所需的全部。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.