the following is the controller of the API interface I wrote: <?php namespace App Http Controllers Lucky; use Illuminate Http Request; use App Http Controllers BaseController as BaseController; use App Models Card; use App Http Transfo...
is an API route as follows: <?php use Illuminate Http Request; $api = app( Dingo Api Routing Router ); $api->version( v1 , [ namespace => App Http Controllers Api ], function($api) { $api->post( verif...
the controller code is as follows: <?php namespace App Http Controllers Lucky; use Illuminate Http Request; use App Http Controllers BaseController as BaseController; use App Models Card; use App Http Transformers CardsTransformer; c...
how does Dingo Api return a custom status code in a successful state? recently, a new version of API, has introduced Dingo api, into laravel. Due to business needs, when you successfully return data, you can also bring status code and prompt messag...