# Windows Live Contacts API

**URL:** <https://www.ruby-forum.com/t/windows-live-contacts-api/160810>\
**Category:** Rails\
**Created:** [February 19, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/windows-live-contacts-api/160810 "2009-02-19T22:32:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msojka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@msojka](https://www.ruby-forum.com/u/msojka)\
**Post date:** [February 19, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/windows-live-contacts-api/160810/1 "2009-02-19T22:32:43Z")

</div>

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)](https://livecontacts.services.live.com/users/@L@XXXXXXX/rest/LiveContacts/Contacts/contact(ID))

In ActiveResource, the site would be  
[https://livecontacts.services.live.com](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
