A
A
andryy2016-12-10 01:04:22
Yii
andryy, 2016-12-10 01:04:22

How to implement user registration in Yii2 Rest API?

Interested in the implementation of user registration in the Yii2 Rest API. Perhaps there are ready-made examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2016-12-10
@mhthnz

Everything happens as during normal registration, only the model is filled not with POST data, but with json or xml. The model should not be attached to the view in any way, so it doesn’t matter what you fill it with.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question