Personal I need to create a route in which a parameter of it is a file name with the extension. How do I create this? Ex.
link
I have created so but of error because of the point before the PDF.
$app->get('/download/:arquivo', function...
I have an api hosted on the local development machine in the following directory:
root/www/api/v2
If I access serving through apache, my routes are not recognized, not even by link nor by link
If I access directly through php -S 0.0...
I need help getting the parameter id at the moment the URI is called, passing it to container .
Follow the code below:
$this->get('/{id}', function($request, $response, $args) {
return $response->withJson($this->get(...
I need to save a form to the bank, with several input fields. Someone has an example of how you would pass the fields. I am using the framework AngularJS (If you need to transform them into an array or use json encode).
This is the part of...