Thanks the article and comments. I built a RESTful PHP service a few years ago and am revisiting it after reading all of this. One thing I did notice, is that $_SERVER['PATH_INFO'] does not exist in my environment. I use $_SERVER['REQUEST_URI'].