Space in URL returns 404


I am creating a basic REST API using SLIM. When i try to run it, it gives me 404 error. My URL has space in it so that character is converted to %20 due to encoding. How do i run the application while using space or %20 in my path?



how do you specify your route? e.g.

$app->get(’/abc%20def’, function($request, $response, $args) {
return $response->withStatus(204);

should work fine.