wymsee / cordova-HTTP

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
372 stars 301 forks source link

uploadFile #91

Open SidharthPHariharan opened 8 years ago

SidharthPHariharan commented 8 years ago

Unable to upload image to server, I have enabled ssl pinning in the plugin, normal api request are working fine except for this.

file - "file:///storage/emulated/0/Media/2016060.jpg"

error - Object {status: 500, error: "There was an error loading the file"}

in the java side it say something like URISyntaxException, where am I going wrong? Please help.

Super-Baleine commented 8 years ago

error 500 is server-side. i think there's a problem on the server.