I'm making a POST API call using the access token and I have to pass a XML body. I was able to get the desired result with the same credentials using the Postman application.
When I paste the same contents here in tRest im getting the below response
<Envelope>
<Body> <RESULT>
<SUCCESS>false</SUCCESS>
</RESULT>
<Fault>
<Request/>
<FaultCode/>
<FaultString><![CDATA[Session has expired or is invalid]]></FaultString>
<detail>
<error>
<errorid>145</errorid>
<module/>
<class>SP.Admin</class>
<method/>
</error>
</detail>
</Fault> </Body>
</Envelope>
Attaching try screenshot of my tRest component. I think I have to escape < and > but not sure. Can any of you please help me out?
If I have to escape these special characters, how do I do it?