Changes between Version 8 and Version 9 of UserGuidelinesREST


Ignore:
Timestamp:
07/25/10 17:20:42 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelinesREST

    v8 v9  
    55
    66NB 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 ===
     12For testing/PUT using CURL follow the example
     13
     14In the example - name%40example.com represents your login name@example.com and password is to be replaced by your password.
     15
     16person.xml is the file name to PUT
     17
     18{{{
     19curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False
     20}}}
     21
    722== !WordPress integration ==
    823Courtesy of timClicks.
     
    157172}}}
    158173
    159 == Testing ==
    160 === RESTclient ===
    161  * http://code.google.com/p/rest-client/
    162 
    163 === CURL ===
    164 For testing/PUT using CURL follow the example
    165 
    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 PUT
    169 
    170 {{{
    171 curl -H 'content-type:application/xml' -T person.xml http://name%40example.com:password@localhost:8000/sahana/pr/person.xml&ignore_errors=False
    172 }}}
    173 
    174174----
    175175UserGuidelines