session id resource returns text/plain