If you have POST working this presumably means you have the XML correctly included in the request as a form-value (one of the idiosynchracies of the Xero API), and you presumably also have a basic signing implementation in place and working.<br>
<br>This would suggest that you have perhaps simply overlooked something in your code that is using PUT. Once you have the basic mechanics in place it should all just fall into place. GET, PUT, POST, HEAD, TRACE, DELETE, OPTION etc... it's all just HTTP requests - OAuth doesn't care which HTTP command is being used as long as the message to sign is correctly formed and correctly signed.<br>
<br>It might help if you posted your POST and PUT code for comparison (GET would hurt too, but won't be as helpful as it doesn't include any XML content with the request).<div><br><br><br><div class="gmail_quote">
On 25 June 2012 18:41, Jeremy Coulter <span dir="ltr"><<a href="mailto:jscoulter@gmail.com" target="_blank">jscoulter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would be keen to hear what solution you find. I am about to look at Xero<br>
soon too :-)<br>
<span class="HOEnZb"><font color="#888888"><br>
Jeremy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:delphi-bounces@listserver.123.net.nz">delphi-bounces@listserver.123.net.nz</a><br>
[mailto:<a href="mailto:delphi-bounces@listserver.123.net.nz">delphi-bounces@listserver.123.net.nz</a>] On Behalf Of Peter Ingham<br>
Sent: Monday, 25 June 2012 17:07<br>
To: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Subject: [DUG] OAuth from Delphi<br>
<br>
I'm trying to use an OAuth interface (Xero) from Delphi & running into<br>
problems using PUT requests (POST and GET are working fine).<br>
<br>
There is not a lot of info about for Delphi and OAuth & none I've<br>
located ever mentions PUT requests. Most is for Twitter (which uses GET<br>
& POST).<br>
<br>
If anyone has experience in this area, I'd love to hear from you!!</div></div></blockquote></div></div>