Changes between Version 13 and Version 14 of DeveloperGuidelines/WebServices
- Timestamp:
- 08/11/09 01:52:38 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/WebServices
v13 v14 15 15 def display_json(): 16 16 "Designed to be called via AJAX to be processed within JS client." 17 list =db(db.table.id==t2.id).select(db.table.ALL).json()18 response.view ='plain.html'17 list = db(db.table.id==t2.id).select(db.table.ALL).json() 18 response.view = 'plain.html' 19 19 return dict(item=list) 20 20 }}} … … 38 38 def organisation(): 39 39 "RESTlike CRUD controller" 40 return shn_rest_controller(module, 'organisation')40 return shn_rest_controller(module, 'organisation') 41 41 }}} 42 42