Use class CGI::Office::Contacts::Controller::Person, and call method add.
/organization_notes/delete/99
Use class CGI::Office::Contacts::Controller::Organization::Notes, and call method delete, with an object id of 99.
This is service trampled REST, very much still in the vein of old web services.
Also, you haven't written about HTTP methods at all, which are the central piece. URLs denote things, therefore are just nouns, and the resources themselves are well-defined well-adopte
I see you put a disclaimer on the article. Won't discuss HTTP methods? — I hope those delete actions and other state changes are only available through POST.
barely RESTful (Score:1)
This is service trampled REST, very much still in the vein of old web services.
Also, you haven't written about HTTP methods at all, which are the central piece. URLs denote things, therefore are just nouns, and the resources themselves are well-defined well-adopte
Re: (Score:1)
Hi daxim
Well, I didn't claim to know everything :-).
And what does 'trampled' mean in this context?
Cheers
Re: (Score:1)
'lo Ron, let me google that for you.
http://duncan-cragg.org/blog/post/strest-service-trampled-rest-will-break-web-20 / [duncan-cragg.org]
I see you put a disclaimer on the article. Won't discuss HTTP methods? — I hope those delete actions and other state changes are only available through POST.