When fetching a razor page, is it possible to pass a Request-Body to it? When the OnGet handler is called, this.Request.Body
or this.HttpContext.Request.Body
seem to be empty:
This doesn't seem to be the case for OnPost handler (duh):
In my opinion using Query-Parameters instead of a Request-Body is more suitable for a GET-Request, however there is the complaint that the URL would be too long when calling the page.
Question is, can I read the Request-Body in the OnGet handler somehow? Any help is much appreciated.