Diogo Souza da Silva

Results 3 comments of Diogo Souza da Silva

Thank you all for the comments. @kbraak The API proposed here indeed overlaps with the "registered dataset inventory" and I was not aware of that at time of writing. The...

Hello, Unfortunately RestServer only matches the supplied parameter for the constructor, in this case $_POST['uri']. So the form could be mapped like this: ``` $server = new \Rest\Server($_POST['uri']); $server->addMap('POST','/users',function($rest) {...

Hi AresAndy, I see you figured out a way to test it by yourself, which is great. One could also change the variables $_SERVER["REQUEST_METHOD"] and $_SERVER["REQUEST_URI"] before starting the RestServer...