What do you mean does not work. It should work.
On Oct 13, 1:29 am, Anaconda <[email protected]> wrote: > I have been going through the video tutorial on this at "http:// > vimeo.com/21133657" and i can get everything to work except the Post > requests. I may be calling it incorrectly in my browser, has anyone > done the tutorial and done it correctly? > > @request.restful() > def manage_dog(): > def GET(id): > dog = db.dog(id) > return dog.as_dict() if person else None > def POST(owner,name,info): > return > db.dog.validate_and_insert(owner=owner,name=name,info=info) > def DELETE(dog) > del db.dog(dog) > return dict() > def PUSH(dog,info): > db.dog[dog].update_record(info=info) > return dict() > return locals()

