Hi,
I am trying to upload an image of .jpg format from a mobile app to my database. We have used phone gap api to access the image from phone gallery and we are using FileTransfer() method to upload the image.
This works fine when we are directly connecting to NW Gateway and we are able to see the image uploaded on gateway but when we try the same thing with SMP as middleware between Device and Gateway we get 401 - UNAUTHORIZED error.
Can anyone provide some inputs on this and if any documents to be referred.
The code I have used is shown below is for Uploading :
Thanks in Advance Friends....