Share feedback, ideas and get community help

Updated 3 months ago

error http request post body

Hey guys, I have an API open today and in your connectivity test the required method is post, header is application/xml in the body field when I send the test xml it returns an error... can anyone help?

link api testing: https://services-hotels.focomultimidia.com/v1/service/ota/OTA_PingRQ
METHOD: POST
BODY: <?xml version="1.0" encoding="UTF-8"?>
<OTA_PingRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_PingRQ.xsd" TimeStamp="2012-11-13T10:06:51-00:00" Target="Test" Version="1">
<EchoData>Is there anybody out there?</EchoData>
</OTA_PingRQ>
HEADER: Content-Type: application/xml
B
j
10 comments
What's the issue?
In this api I put the header: content-type: application/xml and in the xml field I paste the test xml and it returns with error 500, but if I do the same in Postman it succeeds, how can we solve this?
if you want you can test
HEADER: Content-Type: application/xml
BODY; <?xml version="1.0" encoding="UTF-8"?>
<OTA_PingRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_PingRQ.xsd" TimeStamp="2012-11-13T10:06:51-00:00" Target="Test" Version="1">
<EchoData>Is there anybody out there?</EchoData>
</OTA_PingRQ>
Ok thx will try that tomorrow and let you know
Ok managed to reproduce it. I'm seeing how I can fix this
Alright, pushing a fix. Available in 10 min
Add a reply
Sign up and join the conversation on Discord