Propagate the HTTP request.

HttpMigration.propagate() is a function propagating the request to the HTTP server.

It returns the response information from the API endpoint, including the status code, headers, and response body.

Even if the status code is not 200 or 201, this function would return the response information. By the way, if the connection to the HTTP server is failed, this function would throw an Error.

Error when the connection is failed.