Categories
Yii 2. How to implement ajax request and response in json?
Hello! I now have an ajax request on the site to api.php and with POST. The response returns a json response of the form: {error: 0, html: ""} How is this implemented in Yii 2?
Answer the question
In order to leave comments, you need to log in
https://github.com/samdark/yii2-cookbook/blob/mast...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question