Closed seb2010 closed 1 month ago
Form data preparation caused some headache because of the various and differing methods how to read local files and remote files and to prepare the payload... https://stackoverflow.com/questions/78789251/cannot-post-image-as-a-form-payload-element-to-node-js-api/78795026#78795026
Hello,
I am on Debian Bookworm Linux and running a node.js 18 environment. DeepStack is running as a docker container. I do have issue to reliably send images to the end-point via post-request. No matter what library I try to send the post-data to the recognize-API, I either get a timeout or a 400 - "no valid image file found". What is the issue here?
Can you describe what exact headers and Content there is expected and what I am doing wrong?
Hope you can help here. KR SEB