JDE API File Upload issue
Posted: May 11th, 2022, 11:04 am
I am trying to access and run https://[serverName]:[Port]/jderest/v2/file/upload in order attach documents as media attachments to an address record.
I am able to recreate and run this successfully with Postman on the web and app server. Attached is a shot of how that was setup and implemented in Postman. There is a shot of the body attachments and the import setting that was used.
I need a way to execute this functionality from within EP in a method.
Currently, I have it set up in a request service and receive the following error when trying to run it: "The server committed a protocol violation. Section=ResponseStatusLine". There is a shot of this attached as well. I believe the issue is that there is no way to set it up with this curl call that is necessary for the api.
I am able to recreate and run this successfully with Postman on the web and app server. Attached is a shot of how that was setup and implemented in Postman. There is a shot of the body attachments and the import setting that was used.
I need a way to execute this functionality from within EP in a method.
Currently, I have it set up in a request service and receive the following error when trying to run it: "The server committed a protocol violation. Section=ResponseStatusLine". There is a shot of this attached as well. I believe the issue is that there is no way to set it up with this curl call that is necessary for the api.