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.
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.
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).
> I would be keen to hear what solution you find. I am about to look at Xero
> soon too :-)
> -----Original Message-----
> From: delphi-bounces@list... > [mailto:delphi-bounces@list...] On Behalf Of Peter Ingham
> Sent: Monday, 25 June 2012 17:07
> To: delphi@list... > Subject: [DUG] OAuth from Delphi
> I'm trying to use an OAuth interface (Xero) from Delphi & running into
> problems using PUT requests (POST and GET are working fine).
> There is not a lot of info about for Delphi and OAuth & none I've
> located ever mentions PUT requests. Most is for Twitter (which uses GET
> & POST).
> If anyone has experience in this area, I'd love to hear from you!!