A
A
Alexander2021-07-27 11:30:13
symfony
Alexander, 2021-07-27 11:30:13

How can I proxy a request from one controller to another?

Perhaps I didn’t quite correctly describe the question, sorry, I don’t understand how to approach this
. I have a plugin in the project that correctly performs everything I need, but

  1. Returns the data that needs to be normalized
  2. Also, the route configured in this controller is not consistent with the general scheme
  3. Plus, documentation is added to the project in the controller

Is it possible to make the client pull my controller, and that in turn calls the plugin controller?
so that I can customize all this economy for myself and not rewrite the plugin logic

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Derepko, 2021-07-27
@uDenX

https://symfony.com/doc/current/controller/forward...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question