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...@xxxxxxx/rest/LiveContacts/Contacts/contact(ID)

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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to