Sends a POST request to url with data as payload and returns the response.
May throw exception on transport errors.
the http response code and the response body as a string