Ich verwende Yii2 REST mit ActiveController eine neue Pessoa() zu erstellen, auf Apache funktioniert gut, aber auf IIS 8 ein Fehler auftritt.Yii2 REST API IIS Objekt bewegt
Kennt jemand eine Konfiguration in IIS?
REQUEST
Request URL:http://10.192.1.145/api/pessoa
Request Method:POST
Status Code:201 Created
Remote Address:10.192.1.145
Referrer Policy:no-referrer-when-downgrade
RESPONSE
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found
<a HREF="http://10.192.1.145/api/pessoa/45">here</a></body>{"id":"21"}