mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Update README.md
This commit is contained in:
parent
f82869c6ae
commit
3848fb9e29
@ -15,6 +15,7 @@
|
||||
* Server side generated pages using Mustache (https://mustache.github.io/) for Delphi (https://github.com/synopse/dmustache)
|
||||
* Specific trainings are available (ask me for a date and a place)
|
||||
* Messaging extension using STOMP (beta)
|
||||
* Automatic documentation through /system/describeserver.info
|
||||
* Community driven (Facebook group https://www.facebook.com/groups/delphimvcframework)
|
||||
* Simple and [documented](https://github.com/danieleteti/delphimvcframework/blob/master/docs/ITDevCON%202013%20-%20Introduction%20to%20DelphiMVCFramework.pdf)
|
||||
|
||||
@ -107,6 +108,7 @@ type
|
||||
[MVCPath('/($id)')]
|
||||
[MVCProduces('application/json')]
|
||||
[MVCHTTPMethod([httpGET])]
|
||||
[MVCDoc('Returns the users list as a JSON Array of JSON Objects')]
|
||||
procedure GetUsers(CTX: TWebContext);
|
||||
|
||||
//The following action will be with a PUT request like the following
|
||||
@ -115,6 +117,7 @@ type
|
||||
[MVCPath('/($id)')]
|
||||
[MVCProduce('application/json')]
|
||||
[MVCHTTPMethod([httpPUT])]
|
||||
[MVCDoc('Update a user')]
|
||||
procedure UpdateUser(CTX: TWebContext);
|
||||
|
||||
//The following action will respond to a POST request like the following
|
||||
@ -123,6 +126,7 @@ type
|
||||
[MVCPath]
|
||||
[MVCProduce('application/json')]
|
||||
[MVCHTTPMethod([httpPOST])]
|
||||
[MVCDoc('Create a new user, returns the id of the new user')]
|
||||
procedure CreateUser(CTX: TWebContext);
|
||||
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user