Upload File using WebAPI

This client demonstrates how to send a Dicom Image and a Dicom dataset containing a presentation state to our Test Rendering Service.

Note both Dicom Files need to be base64 encoded before submission. Please view source to see the sample code.

Dicom Objects is used on the server to apply the presentaiton state to the uploaded image, and the result is returned as a base 64 encoded JPEG, then displayed in an img element.

The url to send images to is http://dicomserver.co.uk/api/rendertojson.