This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Post Request with XML request body
#3
Thank you admin!
I removed Host, Connection headers and changed Content-Type but it is not working...

This is the Curl request that works successfully.


Code:
curl --location 'http://172.16.1.11/sony/ircc' \
--header 'X-Auth-PSK: 1707' \
--header 'SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0"?>
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
    s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_SendIRCC
xmlns:u="urn:schemas-sony-com:service:IRCC:1">
<IRCCCode>AAAAAgAAAKQAAABbAw==</IRCCCode>
</u:X_SendIRCC>
</s:Body>
</s:Envelope>'
Reply


Messages In This Thread
RE: Post Request with XML request body - by Hadeel - 04.07.2024, 11:02

Forum Jump: