(09-10-2021, 02:28 AM)paliz Wrote: 1 Rest ful reaponse is json object
2 restful controller input data could be formdata or json object
3 restful methods get put post delete
Thanks your Feedback,
Current, In Controller, I use template from FuntionHelper to reaponse json object with
my format json, apply all controllers.
My format json same as:
Code:
{"Status":200,"Msg":"Connected","Data":{"List":[],"Type":"Export"}}
I don't understant, different between my way vs RESTful (ci4 supports).
To return json results for Mobile App, Which solution should I apply?