Page 1 of 1

POST files into Files collection

Posted: Fri Feb 06, 2015 8:20 am
by Hawk

Hi,

I would like to send files from Oracle DB to Files collection. The following is the curl for create:

precurl -X POST \
-H "X-Appery-Database-Id: 53f2dac5e4b02cca64021dbe" \
-H "X-Appery-Session-Token: " \
-H "Content-Type: " \
--data-binary '' \
https://api.appery.io/rest/1/db/files//pre

1) Do I need to obtain session_token and use it in POST request?
2) The , should it be in base64 or BLOB (binary image) ?

Many thanks,


POST files into Files collection

Posted: Fri Feb 06, 2015 8:43 am
by Evgene Karachevtsev

Hawk,

1) Yes,
2) It should be a binary image.