Changes between Version 8 and Version 9 of UserGuidelinesREST
- Timestamp:
- 07/25/10 17:20:42 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelinesREST
v8 v9 5 5 6 6 NB JSON must not include trailing commas in lists (just like Internet Explorer). [This is a SimpleJSON limitation] 7 == Testing == 8 === RESTclient === 9 * http://code.google.com/p/rest-client/ 10 11 === CURL === 12 For testing/PUT using CURL follow the example 13 14 In the example - name%40example.com represents your login name@example.com and password is to be replaced by your password. 15 16 person.xml is the file name to PUT 17 18 {{{ 19 curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False 20 }}} 21 7 22 == !WordPress integration == 8 23 Courtesy of timClicks. … … 157 172 }}} 158 173 159 == Testing ==160 === RESTclient ===161 * http://code.google.com/p/rest-client/162 163 === CURL ===164 For testing/PUT using CURL follow the example165 166 In the example - name%40example.com represents your login name@example.com and password is to be replaced by your password.167 168 person.xml is the file name to PUT169 170 {{{171 curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False172 }}}173 174 174 ---- 175 175 UserGuidelines