The incorrect headers were being sent when sending a GET request.