In the past we've transferred images captured via a mobile device over to a JSDO using a base64 encoded longchar parameter.
Would it be more sensible with the new PAS web-handler to transfer via a post request and a content type of application/octet-stream?
We've tried but we can't seem to store the porequest:entity back to a file. Is there a way of finding out the type of the porequest entity so we cast to the correct type?
Thanks for the advice and link to the sample code. I had searched through the forums and noticed some posts with similar code but had failed getting it to work correctly. I've also come across the upload file samples that work fine with the Kendo file upload widget but I couldn't get my simple POST of binary data to work with a similar web handler. Basically I'm trying to upload an image from a nativescript mobile app using the angular2 http module to a PAS web-handler. I'll have a good look at your sample which I'm sure will help.