我可以访问有关法律公司的网站数据信息。
我想在我的网站上显示这些信息,以利用它们。他们告诉我使用 xmlrequest 但我不知道如何实际提交 Siret 号码并检索信息
我被告知这是一个类型系统getdata。
他们给了我一个示例查询
<xmlrequest>
<header>
<username>demo</username>
<password>********</password>
<operation>getcompanyinformation</operation>
<language>EN</language>
<country>FR</country>
<chargereference>[Demonstration.aspx]</chargereference>
</header>
<body>
<package>standard</package>
<companynumber>NUMERO SIRET</companynumber>
</body>
</xmlrequest>
我将此代码放在页面 .xml 上,但是当我在浏览器中加载它时,它只显示没有 xml 标记的文本。
所以我不知道如何将消息发送到服务器并接收响应。