I'm working with a PBX that, given a URL string with some pre-defined
fields, will invoke that URL with the fields filled in with collected data
on certain call events.

For instance, if you give it the proper string to invoke for each new call,
then when "Joe Bob" at "123-456-7890" calls, it will do an HTTP GET request
on

http://example.com/new_call?cid_number=1234567890&cid_name=Joe%20Bob

Easy enough to deal with, but I was wondering: if the device will only do
GETs (with the params in the URI), then what's the right way to create new
Call records RESTfully, since GETs aren't really supposed to create new
records?  Is there one?

It's mostly curiosity.  I have it working, but it's not RESTful at all. :)

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to