This method ensures POST data is sent along with the request, it was missing here.