calling getresponse so that the POST request actually happens