Restful icon indicating copy to clipboard operation
Restful copied to clipboard

Drahak\Restful - Nette REST API bundle

Results 38 Restful issues
Sort by recently updated
recently updated
newest added

Due to [this](https://github.com/nette/http/commit/4ff8e48df92a7fe3b747043012edd057dcf0b5e3) commit, `getRawBody()` will always return NULL, because in ApiRequestFactory [there](https://github.com/drahak/Restful/blob/9cb32de7241c370e42e18cec703f638695650356/src/Drahak/Restful/Http/ApiRequestFactory.php#L43) is no callback passed. Possible quickfix: ``` php public function createHttpRequest() { $request = $this->factory->createHttpRequest(); $url =...

Before commit 7530d8d5b25038564843de024204d540d317c4ed, there was correct 406 code sent, when server didn't understand the Accept header. [Now it sends 415](https://github.com/drahak/Restful/blob/d8df51b1ecca0c1f42f5bcf67bb0368896f84038/src/Drahak/Restful/Application/UI/ResourcePresenter.php#L172), which is [completly different](http://stackoverflow.com/questions/3294483/http-406-and-415-error-codes#answer-3294541). This commit should probably be reverted...

Is there any best practice for testing ResourcePresenters? We start using your library (which is by far best we can found), but we struggle in creation of Input objects, because...

Would by great if the class Drahak\Restful\Security\Process\SecuredAuthentication has setter for private key or something else how to dynamically change private key. I implemented this my own, but Im not sure...

It would be usefull to have Hypermedia API support, for example in "application/HAL+json" format. Do you plan this feature ?

In XML, not every character can be used for tag name. For example spaces are not allowed. Maybe there should be some validation for that. You can easily forget this...

Another suggestion we would find useful is to create new class Application\Responses\ErrorResponse inherited from TextResponse which will represent be used for returning errors. It will allows simplify testing if returned...

Prepending // on link is not working. Should generate absolute URI with domain.

bug