Magento Rest Api Invalid XML

早过忘川 提交于 2019-12-24 07:09:09

问题


Hi I am trying to access Magento Rest Api through http://magentostore/api/rest. But I am getting response

<SOAP-ENV:Envelope> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Sender</faultcode> <faultstring>Invalid XML</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>.

Does anybody have any idea regarding this. Why I am recieving this error


回答1:


You will need to adjust your .htaccess file.

Uncomment Line 12 Options -Multiview

This turns off Multiview and your rest api should work.



来源:https://stackoverflow.com/questions/41722837/magento-rest-api-invalid-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!