A
A
Artem00712018-10-02 14:41:16
Laravel
Artem0071, 2018-10-02 14:41:16

How to set Response to wantsJson?

Laravel v_5.6
Created several API methods
Is it possible to do something at the controller level so that the version for json is always returned?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
miki131, 2018-10-02
@Artem0071

JSON Responses

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question