The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Routing to put and delete

rene.hoeger's Avatar


04 Mar, 2016 09:16 AM


I try to make a route to 'Put' and 'Delete'. But slim doesn't jump into these routes. 'Post', and 'Get' works as expected.
For example a route like

$this->delete('/{id:[0-9]+}', function(\Psr\Http\Message\ServerRequestInterface $request, $response, $args){

doesn't work. First I thought it was a problem with the apache rights but for developing purposes I set the rules

AllowOverride All
Order allow,deny
Allow from all
Allow from all

But this doesn't seem to work. Currently I'm developing with MAMP Pro. Maybe someone could tell me what else I've got
to do!




  1. 1 Posted by Rob Allen on 04 Mar, 2016 09:35 AM

    Rob Allen's Avatar

    How are you testing?

  2. 2 Posted by doloresdeaniel on 09 Jul, 2016 05:53 AM

    doloresdeaniel's Avatar

    good Snapchat iphone app acquired incredibly tidy, straight away so this is usually where the talk aspect is usually nice.

  3. 3 Posted by vbnnb on 03 Mar, 2017 06:41 AM

    vbnnb's Avatar

    good This application most useful benefits is you viewing certainly show you on how to download and also set up best.

  4. 4 Posted by keny on 22 Mar, 2017 11:07 AM

    keny's Avatar

    a television and also configures Kodi by Kodi is offered on almost every tool you could think about.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac