Page 1 of 1

How to upload file to parse using Restapi in appery?

Posted: Wed Aug 13, 2014 5:31 am
by madhurendra

Parameter names for test .


How to upload file to parse using Restapi in appery?

Posted: Wed Aug 13, 2014 5:39 am
by Evgene Karachevtsev

Hello,

Hope, this link will help: https://www.parse.com/docs/rest#objec...


How to upload file to parse using Restapi in appery?

Posted: Wed Aug 13, 2014 6:20 am
by madhurendra

can you tell me request parameter name which i have to add.i have added three parameter REST API KEY AND APPLICATION KEY and upload_file(column name which i have created in parse class).

upload_file(value type :object )={ "name": "C:\Users\IdeaLabz\Desktop\madhurendra\javasript1.txt" ,"__type":"File"}

if i test using appery its upload file to parse class .but problem is that i upload file file on input field (type:file) and invoke post service on click of button it create a row in the parse class but value of{upload_file} column is undefined.

please tell me about mapping how to map file to reruest parameter.


How to upload file to parse using Restapi in appery?

Posted: Wed Aug 13, 2014 6:54 am
by Evgene Karachevtsev

Madhurendra,

It is not all easy. Please look at this tutorial about uploading file in Appery.io DB: http://devcenter.appery.io/tutorials/...
There is a special function uploadMultipleFilesHelper, its logic is made specifically for Appery.io


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 6:18 am
by madhurendra

Thanks but my requirement to upload it to parse.
i am getting a error upload service not defined so if you any solution please tell me.


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 6:40 am
by Evgene Karachevtsev

Madhurendra,

Could you please send us screenshot of the error?


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 7:14 am
by madhurendra

when i upload a file then parse create a row but column(upload_file) is showing undefined.


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 9:57 am
by madhurendra

i want to know the file format in which the data will be saved in the parse database. tell me the format


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 10:58 am
by Evgene Karachevtsev

Madhurendra,

Unfortunately it looks like this issue is outside the scope of our support, you should contact parse.com support.


How to upload file to parse using Restapi in appery?

Posted: Thu Aug 14, 2014 12:06 pm
by madhurendra

thanks