added a get request for raw data, not sure if it works yet
forgot to disconnect client