For testing/PUT using CURL follow the example In the example - name%40example.com represents your login name@example.com and password is to be replaced by your password. person.xml is the file name to PUT {{{ curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False }}}