RESTful Sub Resource Handling Url |
I think with new define:
- only one url: yoursite.com/api/v1 - only one POST request - define data post: - ------ type [get, put, patch, list, sort, add, delete,... anything you want] - ------ data,... On your api controller handle, map type with function, then process and return,... Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams |
Messages In This Thread |
RESTful Sub Resource Handling Url - by paliz - 10-19-2020, 11:43 AM
RE: RESTful Sub Resource Handling Url - by paliz - 10-22-2020, 09:56 AM
RE: RESTful Sub Resource Handling Url - by nc03061981 - 10-23-2020, 01:55 AM
RE: RESTful Sub Resource Handling Url - by nc03061981 - 10-23-2020, 06:18 AM
RE: RESTful Sub Resource Handling Url - by paliz - 10-23-2020, 07:38 AM
RE: RESTful Sub Resource Handling Url - by nc03061981 - 10-23-2020, 06:09 PM
RE: RESTful Sub Resource Handling Url - by paliz - 10-25-2020, 04:26 AM
|