laravel - modify php built-in server to route resource requests to my app -
i'm building app locally laravel + php 5.6.8's built-in server testing purposes. on main server, it's running vanilla apache+php5.6.8 , not have issue.
when try create route /api/account/1.json (in laravel route::get(/api/account/{id}.{format}) , test locally, says "resource not found". it's trying find 1.json file rather parsing , passing $id / $format variables.
how go modifying php.ini disallow json resources routed app?
Comments
Post a Comment