Authenticate against external rest api

Hello, i am new with webservices, so i think this is prety basic

i want to use the REST interface of our zimbra collaboration server
within my rails applications.

I could create calendar appointments using curl -u username@password

So the question is: how can i authenticate and post a file to zimbra
from rails?

Thanks, Remco

I found out that rails can’t consume a REST webservices out of the box,
it can only be a server. too bad, i will figure something out with
external libraries

i found out wrong,
thanks for pointing me at active_resource :wink: