wiki:UserGuidelinesREST

Version 1 (modified by Praneeth Bodduluri, 12 years ago) ( diff )

Curl example for POST

For testing/POST 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 post.

curl -F 'filename=@person.xml;type=application/xml' http://name%40example.com:password@localhost:8000/sahana/pr/person/create.xml&ignore_errors=True
Note: See TracWiki for help on using the wiki.