Add support for arbitrary urls on main endpoints

For the main endpoints (get, post, put, patch, delete) this provides support for trailing URL paths.