Passing image in the request body - POST operation

I am new to AppGyver and trying to integrate Face APIs from Azure. Using a Postman REST client, I am able to use the POST operation and provide an image file in the request body (binary). I am unable to create a Data Resource where I can test this API for the POST operation. I tried binding the custom properties to Image URL etc, but it doesn’t seem to pass the image as a binary.

Error: JSON error response from server: {“error”:{“code”:“InvalidImageSize”,“message”:“Image size is too small.”}}.status: 400

Resource settings for Create record (POST)

Resource URL:
Relative path: detect

Has anyone tried this before? If so, can you share the steps which you followed?


1 Like

Hi Murali,

I meet the same problem, I have to embed in AppGyver a POST request to this Kyma REST Service:

the post request must have this form:

… now my question is how: can I implement the upload of a binary File in AppGyver Post Schema?
I. E:

There is no the FILE type and I have not found a trick to workaround it.

You should use Upload Files flow function

1 Like

We’ve added some details on using Upload files here
We’re also looking into making the flow function a bit more intuitive to use :slight_smile:

1 Like

Hi team,
can you explain a bit more (or share link to a video tutorial) ?
I try to POST a sound file, recorded in Appgyver, to this API:

curl --location --request POST ‘’ \

–header ‘Authorization: Bearer api_org_EKwsdsdsdsezezdszdzezefX’ \

–header ‘Content-Type: audio/wave’ \

–header ‘Cookie: AWSALB=Mwkn0ljrWdkv5aNvB9iB2D0ZXyAarDEWImNrfT8p2SUzcFXNsat6NJs9zPw4hPfrRQ+a1HsFStBazn/6bFrAau3YTUcPvVym6DvQosKe03CJEQwL91L2m7Nvdm52; AWSALBCORS=Mwkn0ljrWdkv5aNvB9iB2D0ZXyAarDEWImNrfT8p2SUzcFXNsat6NJs9zPw4hPfrRQ+a1HsFStBazn/6bFrAau3YTUcPvVym6DvQosKe03CJEQwL91L2m7Nvdm52’ \

–data-binary ‘@/C:/Users/j_roc/OneDrive/CAPSERAT/PROJETS PERSOS/ VOICE2SPEECH/TESTS/News rubbees mars-MINI.wav’

(It works smoothly in Postman, with the body being a binary)