Route with the character "."

0

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($arquivo) use($app) {...});

Obrgado

    
asked by anonymous 09.01.2016 / 18:17

1 answer

0

There are some ways to do this in documentation . Some: / download / {file}

One more thing, what error do you get? route not found? or just can not read the extension?

    
23.07.2016 / 06:32