Answer the question
In order to leave comments, you need to log in
Where to place requests to third party REST?
Good afternoon. There is a small project on Laravel, the whole point is to ensure the interaction of 2 third-party services via their REST API. Now requests to them are in controllers as static methods. There is a suspicion that this approach is not correct, but I don’t understand where exactly and how to place such things? In models? There are examples?
Answer the question
In order to leave comments, you need to log in
There is a suspicion that this approach is not correct
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question