How to validate an API REST? |
Hello,
I'm extending Resource Controller In situations that are passed as GET I can validate this way: PHP Code: public function index() However, when it is necessary to pass the parameter through the function, how to solve this? PHP Code: public function show($id = null) Can anyone help? |
Messages In This Thread |
How to validate an API REST? - by MatheusCastro - 04-17-2020, 10:36 AM
RE: How to validate an API REST? - by jreklund - 04-17-2020, 12:59 PM
RE: How to validate an API REST? - by MatheusCastro - 04-17-2020, 02:04 PM
|