0

I have have a resource GET /say/hello/:name. How can I get response from this resource with custom context? I am expecting this code:

<?php
$request = Request('GET', '/say/hello/World');
$app = new Luracast\Restler\Restler();
$output = $app->handle($request);

Thanks

Hong Truong
  • 821
  • 7
  • 11

1 Answers1

0

Reslter 3 (current stable version) does not support request object yet. We will consider adding this as a feature in future release!

https://github.com/Luracast/Restler/issues/340

Hong Truong
  • 821
  • 7
  • 11