working server for GET request