Uploading files to an endpoint service working