/demo/debug is debug endpoint, not resource endpoint.