theaveragedev.com
Routing to callback functions in WordPress – 01
Read /posts/1027. If you can understand this you can REST.