Changes between Version 1 and Version 2 of UserGuidelinesREST
- Timestamp:
- 01/17/10 13:15:41 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelinesREST
v1 v2 1 For testing/P OST using CURL follow the example1 For testing/PUT using CURL follow the example 2 2 3 3 In the example - name%40example.com represents your login name@example.com and password is to be replaced by your password. 4 4 5 person.xml is the file name to post.5 person.xml is the file name to PUT 6 6 7 7 {{{ 8 curl - F 'filename=@person.xml;type=application/xml' http://name%40example.com:password@localhost:8000/sahana/pr/person/create.xml&ignore_errors=True8 curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False 9 9 }}}