PUT('/fake', function(Application $app, Request $request) { $test code inject */ ' " =end = $request->get('test code inject */ ' " =end'); return new Response('How about implementing testCodeInject */ ' " =end as a PUT method ?'); }); $app->run();