Microsoft.AspNetCore.NodeServices error: canceling object body for GET requests

Environment: asp.net core 1.1 + angular 4.2.3 + vs2017 15.3 preview 2

Server side dispatch generates the following log:

fail: Microsoft.AspNetCore.NodeServices [0] Dropping object body for GET requests

In Angular, I am calling one web API.

/**
 * Get endpoint for application configuration
 */
getAppConfigEndpoint(): Observable<Response> {
    let header = new Headers();
    header.append("Content-Type", "application/json");
    return this.http.get(this.getFullUrl(Endpoints.API_URL_APP_CONFIGURATION), { headers: header });
}

      

From the post itself, it appears that the request body has been added to the GET request. But I don't think this is the case.

Does anyone know anything about this issue? or a debugging approach for this scenario?

Click here to view the server side information request

+3


source to share





All Articles