Working example of the file upload REST service