Hi all,
I am trying to upload an Image to the server using rest api, I followed couple of docs for this like, this one and this one But no matter what I try, I end up with status code 500, I checked it in rest client whether the service is working fine or not and its working perfectly there, only if I didn’t add the image then it throws me status code 500. I want some thing like this below in the request payload to work it properly .
------WebKitFormBoundaryJDEAxq1EUq1a6g4W
Content-Disposition: form-data; name="image"; filename="3DView.png"
Content-Type: image/png
------WebKitFormBoundaryJDEAxq1EUq1a6g4W--
Please help me out guys, I’m trying from last 3 days…