Welcome Guest, Not a member yet? Register   Sign In
RESTful Sub Resource Handling Url
#3

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

Reply


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 paliz - 10-23-2020, 07:38 AM
RE: RESTful Sub Resource Handling Url - by paliz - 10-25-2020, 04:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB