Forum: Ruby on Rails Windows Live Contacts API

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Martin S. (Guest)
on 2009-02-19 23:32
(Received via mailing list)
I am trying to connect to the Windows Live Contacts REST API.

In addition to an authentication header, the URL to retrieve data
looks like this:

https://livecontacts.services.live.com/users/@L@XX...)

In ActiveResource, the site would be
https://livecontacts.services.live.com,
the prefix would be users/@L@XXXXXXX/rest/LiveContacts/Contacts/, and
the element would be contacts.

Is there a way for me to connect Active Resource to this REST API?
ActiveResource wants to ask for

GET /users/@L@46578b9241ad5159/rest/LiveContacts/Contacts/contacts.xml

It's the trailing XML (at a minimum) that throws this off.

Any suggestions? Can the :from option help me?

Martin
This topic is locked and can not be replied to.