Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

POST files into Files collection

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,

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

POST files into Files collection

Hawk,

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

Return to “Issues”