wraycode
wraycode
### Vagrant version Vagrant 1.9.7 ### Host operating system ubuntu 17 ### Guest operating system ubuntu 14 ### Vagrantfile ~# cat Vagrantfile # -*- mode: ruby -*- # vi: set...
Following example here [https://octobercms.com/docs/services/router#basic-routing](url) ##### Expected behavior created routes.php in plugins\cg\myplugin [https://github.com/daftspunk/oc-laravelapi-plugin/blob/master/routes.php](url) Route::get('/welcome', 'Acme\LaravelApi\Http\Controllers\WelcomeController@index'); returns Class not found Route::get('/hello', function () { return 'Hello World'; }); returns hello world
where do I specify the port? I can't test with php server because curl and guzzle timeout and under apache I get a 404 not found when trying to access...
trying curl -X POST http:/localhostl/api/login_check -d [email protected] -d _password=test
cannot get a drop down menu to work for parameter get javascript error in console t.map is not a function ` /** * @SWG\Parameter( * name="room", * in="query", * type="array",...
I want to use api key or jwt in later, but for now I just want /api/doc to use @Security("is_granted('IS_AUTHENTICATED_FULLY')") I tried to run ./bin/console debug:config NelmioApiDocBundle But all it...
How can I make the post request body accept json ? * consumes={"application/json"}, * @SWG\Parameter( * name="body", * in="body", * paramType="body", * required=true, * type="string", * description="json" * ),
```php /** * @Security("is_granted('IS_AUTHENTICATED_FULLY')") * * @Route("/api/shipping/cart/height", name="get_shipping_cart_height", methods={"POST"}) * @SWG\Post( * * consumes={"application/json"}, * produces={"application/json"}, * tags={"Shipping"}, * type="styring", * @SWG\Parameter( * name="Authorization", * in="header", * required=true, * type="string",...
Does anybody know how to resolve this error I'm trying to upgrade and everything is broken now, any help greatly appreciated ERROR [console] Error thrown while running command "api:doc:convert". Message:...