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
angular single-page-application asp.net-core-1.1 serverside-rendering


source to share


No one has answered this question yet

Check out similar questions:

175
SPA Best Practices for Authentication and Session Management
34
How to properly set Http request header in Angular 2
five
Add Angular 4 to ASP.NETCore Project
3
Angular 4 server side rendering in Asp.Net MVC 5 Framework (non Core)
2
Angular 5 + AspNetCore + SpaServices + cshtml Can this be done?
2
Publishing angular version 5 server side for IIS
1
Angular 4 HTTP error with no body PUT error
1
Index.html in root domain not getting server side rendering in angular IIS
0
Using ElementRef in Angular 5.2 Server Side Rendering Mode
-1
After running Debug VS2017 ASP.NET Don't receive this message



All Articles
Loading...
X
Show
Funny
Dev
Pics