Restful
Restful copied to clipboard
Drahak\Restful - Nette REST API bundle
I think translation array to xml and back should give you same array which you start with. I created failing test case. Current workaround suitable for my situation: ``` $data...
How do you handle \Drahak\Restful\Application\BadRequestException when invalid method is used for request? It is thrown on application startup way before the presenter is loaded so i cant handle it in...
I tried to use this library on Nette 2.3.8, PHP 7.0.2. I ran into a problem in the file::method. ``` php ResponseFactory::getPreferredContentType ``` There is a call to: ``` php...
Let's say i have routes: ``` php new CrudRoute('api/v1/users', [ 'presenter' => 'Users', 'action' => [ IResourceRouter::POST => 'create'] ], IResourceRouter::POST); new CrudRoute('api/v1/users/', [ 'presenter' => 'Users', 'action' => [...
I get this error when sending request (GET) with no Content-Type header. I thing that the problem is as follows: When no content-type is provided Drahak\Restful\Mapping\MapperContext-> getMapper ($contentType) receives NULL,...
Hey there, you don't have any licence attached to your code, that means, that nobody can use your code :) Please add some (e.g. MIT).
new 2.4-dev nette cause errors, please change composer.json to stable nette version
If I go to the action through another Router, it's possible circumvent check of allowed methods in annotation. For example annotation `@POST /v1/issues` throw BadRequestException. But if this URL catch...
I've tried to use autogenerated routes from annotation, but they are added to the end of my routeList and the matched route is the standard default Nette route instead of...
When testing presenters, I create a `Nette\Application\Request` and let the presenter run it. However, this way the `ResourcePresenter::input` doesn't contain the POST data sent in the request. I did some...