#1 2022-04-25 14:32:54

Edtech
Member
Registered: 2019-07-04
Posts: 7

Send data to REST server via form-data

Hello,

I try to send files via form-data but I get a 406 error "sicPerSession execution failed (probably due to bad input parameters)" every time. I don't understand what arguments are expected by Synopse for this data format.

Also, MultiPartFormDataDecode seems to accept only files and no other form data. Moreover, it needs to be provided with a MimeType as a parameter which seems strange since the MimeType is already included in the form-data.

Anyway, if someone has an example of API with form-data...

Thanks in advance.

Offline

#2 2022-04-25 16:34:53

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Send data to REST server via form-data

You are right, Form-Data is not supported yet, IIRC.

Offline

#3 2022-04-27 07:04:57

Edtech
Member
Registered: 2019-07-04
Posts: 7

Re: Send data to REST server via form-data

Thank you for your quick response.

Offline

Board footer

Powered by FluxBB