def perform_post(self, path, body, x_ms_version=None):
request = HTTPRequest()<EOL>request.method = '<STR_LIT:POST>'<EOL>request.host = self.host<EOL>request.path = path<EOL>request.body = _get_request_body(body)<EOL>request.path, request.query = self._httpclient._update_request_uri_query(request)<EOL>request.headers = self._update_management_header(request, x_ms_version)<EOL>response = self._perform_request(request)<EOL>return response<EOL>
Performs a POST request and returns the response.

path:
    Path to the resource.
    Ex: '/<subscription-id>/services/hostedservices/<service-name>'
body:
    Body for the POST request.
x_ms_version:
    If specified, this is used for the x-ms-version header.
    Otherwise, self.x_ms_version is used.