Answer the question
In order to leave comments, you need to log in
What should a get request look like when using the symfony route?
What should look like get with routing? My path is: example.dev/exam
There is no ".php" at the end of the path. And example.dev/exam?id=1 is, as I understand it, not true. What kind of link should have a get request?
Answer the question
In order to leave comments, you need to log in
Any. Routing is about example.dev/some/your/routing/rules
. A ?id=1
- these are the query parameters that you parse in the action. The first is the path to the resource. The second is any data that needs to be passed to this resource.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question