# Responding to xmlhttp requests

**URL:** <https://www.ruby-forum.com/t/responding-to-xmlhttp-requests/137803>\
**Category:** Ruby\
**Created:** [May 16, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/responding-to-xmlhttp-requests/137803 "2008-05-16T15:07:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Post date:** [May 16, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/responding-to-xmlhttp-requests/137803/1 "2008-05-16T15:07:16Z")

</div>

Well I did something silly: I confused xmlrpc and xmlhttprequests, and  
setup a nice little program that does everything I need… as an  
xmlrpc server.

I figured I’d just have to code a single html/javascript page to  
access it in all it’s various ways, and be done.

Oops.

Is there any package that handles setting up something to respond to  
xmlhttprequests as easily as setting up an xmlrpc service is?  
I’d really rather not do cgi or mod\_ruby.

Of course if anyone can point out a good javascript library to handles  
xmlrpc as easily as they seem to xmlhttprequests, that’d be great too,  
then I don’t have to change anything 😉

Thanks,  
Kyle
