I have this url: http://mysite.com/api/users/1
And it’s working correctly on dev server - returns a User model.
However when I uploaded the code on the prod, that url is not working anymore.
I get message:
<response>
<name>Bad Request</name>
<message>Required parameters are missing: id</message>
<code>0</code>
<status>400</status>
<type>yii\web\BadRequestHttpException</type>
</response>
If I go to http://mysite.com/api/users/1?id=1 Everything is working. So the problem that parameters are not parsing on the prod.
What can be a reason?