This could be simpler:

    HttpRequest.request(this._url, method: 'POST', mimeType: 'application/json', sendData: stringify(request_map));

Read the api https://api.dartlang.org/docs/releases/latest/dart_html/HttpRequest.html#request and you can also look at the implementation. So, I want to say, do not reinvent the wheel.