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
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.