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

Domain as a url section

Pablo Bernardo's Avatar

Pablo Bernardo

10 Oct, 2015 09:48 PM

I need to pass a domain as a part of my url because I am using Slim as an API proxy that can make requests to different domains
Something like /v1/
But if fails if I try routes like /v1/:domain/apis/whatever

Any idea on how could I solve that?

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