RESTfully dealing with a non-RESTful client


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
on certain call events.

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

Easy enough to deal with, but I was wondering: if the device will only
GETs (with the params in the URI), then what’s the right way to create
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.