You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
HttpRequestMessage does not have data in ASP.NET Core #34
Currently I am converting LINE with bot framework application to ASP.NET Core, implement the same controller [HttpPost] public async Task<ActionResult> Post([FromBody] HttpRequestMessage request)
But when I test webhook, HttpRequestMessage does not have any data. Can anyone help?
Using seanmars' code to create a method like the one below, I was able to create an HttpRequestMessage that the "GetWebhookEventsAsync" extension method can use successfully.
Note that the "X-Line Signature" key must be included in the header.
Activity
kenakamu commentedon Jan 22, 2019
Check this out.
https://github.com/kenakamu/LINEChannelConnector/
seanmars commentedon Jan 22, 2019
I got same issue, but i rewrite the
WebhookRequestMessageHelperby usingHttpContext.Some sample to get the content:
fuyunekojima commentedon Apr 25, 2020
Using seanmars' code to create a method like the one below, I was able to create an HttpRequestMessage that the "GetWebhookEventsAsync" extension method can use successfully.
Note that the "X-Line Signature" key must be included in the header.