Updating rails apps via REST

hi,

i have two rails-applications (similar inventory apps). they both use
restful_auth.
now i got the request that one app needs to be able to update a record /
create a new one in the other app. so basically what i would like to
know is
how do i post to the other app via REST including authentication?

any ideas are welcome.

tom