Answer the question
In order to leave comments, you need to log in
How to send in the body of a post request to api xml through php?
From the rs24.ru documentation:
It is necessary to send a request to the address https://rs24.ru/webservices/rest/XXRSV_I1085_ITEM_... using the POST method with the following parameters:
• Accept value application/xml
• Content-Type value application/xml
• Authorization value 'Basic ' || to_base64(|| ':' || <password>)
is formed by concatenating the string Basic and login ':' password in Base64 encoding.
The request body looks like this:
<GET_Input xmlns:ns=" xmlns.oracle.com/apps/fnd/soaprovider/plsql/rest/X... " xmlns:ns1=" xmlns.oracle.com/apps/fnd/soaprovider /plsql/rest/X... ">
<RESTHeader>
<Responsibility>IBE_FIL_022</Responsibility>
<RespApplication>IBE<
<SecurityGroup>STANDARD</SecurityGroup>
<NLSLanguage>RUSSIAN</NLSLanguage>
</RESTHeader>
<InputParameters>
<P_VERSION>2.0</P_VERSION>
<P_PARAMETER_TBL>
<P_PARAMETER_TBL_ITEM>
<PARAMETER_NAME>P_SITE_USE_ID</PARAMETER_NAME>
<PARAMETER_VALUE8>1 /PARAMETER_VALUE>
</P_PARAMETER_TBL_ITEM>
<P_PARAMETER_TBL_ITEM>
<PARAMETER_NAME>P_ITEM_NUM</PARAMETER_NAME>
<PARAMETER_VALUE>10100</PARAMETER_VALUE>
</P_PARAMETER_TBL_ITEM>
</P_PARAMETER_TBL>
</InputParameters>
</GET_Input>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question