Skip to content

POST JSON DATA IS NULL #318

@maxwell60701

Description

@maxwell60701

In my post http request,the json data is null,bad request 400,If I add code

app.Use(async (context, next) => { if (context.Request.Body.CanSeek) { context.Request.Body.Position = 0; } await next(); });
after app.UseExceptionless();
it worked,It should be the stream position is not reseted to 0 after reading

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions