Commit Graph

12 Commits

Author SHA1 Message Date
Daniele Teti
082089f9a1 Updated sample projects to D12.2; New middleware TMVCShutdownMiddleware (useful to create a route which shutdown the server in automated testing environments)
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-01 09:46:54 +02:00
Daniele Teti
ff8124742e Sample articles_crud_server updated to use db logger 2024-04-04 16:21:45 +02:00
Daniele Teti
af0984e050 Added
function OKResponse(const Body: TObject): IMVCResponse; overload;
    function OKResponse: IMVCResponse; overload;
    function NotFoundResponse(const Body: TObject): IMVCResponse; overload;
    function NotFoundResponse: IMVCResponse; overload;
    function NoContentResponse: IMVCResponse;
    function UnauthorizedResponse: IMVCResponse;
    function BadRequestResponse: IMVCResponse; overload;
    function BadRequestResponse(const Error: TObject): IMVCResponse; overload;
    function CreatedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
    function AcceptedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
    function ConflictResult: IMVCResponse;
    function InternalServerErrorResponse: IMVCResponse;
2024-04-03 16:11:38 +02:00
Daniele Teti
7b828d78f2 Code clean up in the samples 2023-09-01 12:49:10 +02:00
Daniele Teti
e30db206cc Wizard and related samples updated 2023-06-06 17:33:37 +02:00
Daniele Teti
f0c29801ea [+] All article CRUD samples in one project group 2021-04-07 19:14:12 +02:00
João Antônio Duarte
9c43f85b33 Merge branch 'master' into feature_restclient 2020-11-09 07:55:06 -03:00
Daniele Teti
11c7b397d4 Improved CRUD sample 2020-11-05 15:42:31 +01:00
João Antônio Duarte
00a5f09195 Samples changed to use TMVCRESTClient 2020-09-24 16:30:45 -03:00
Daniele Teti
4e4c7f2198 removed tmvcrestclient from samples 2020-09-02 19:43:34 +02:00
João Antônio Duarte
815547b852 Samples changed to use TMVCRESTClient 2020-08-26 17:13:18 -03:00
Daniele Teti
787309889e Added first sample for APIBinder 2020-06-25 00:09:07 +02:00