N
N
Nick Bukovskiy2017-03-25 14:05:36
symfony
Nick Bukovskiy, 2017-03-25 14:05:36

How to check which request came to the controller?

Getting familiar with the Symfony framework. I did routing and I want my controller, after receiving information about the request, to be able to find out which request (POST or GET) and, depending on this, perform certain actions. How can I implement this check?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
padlyuck, 2017-03-25
@sonterix

stackoverflow.com/questions/22852305/how-can-i-che...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question