public async Task <bool> OnRequestAsync(HttpContext context, ILogger logger)
        {
            // required to be able to rewind the request for deferred execution
            context.Request.EnableBuffering();

            using var sr = new StreamReader(context.Request.Body, leaveOpen: true);
            var body = await sr.ReadToEndAsync();

            var url = context.Request.GetDisplayUrl();

            await _store.SaveRequestAsync(context, url, body);

            // we are deferring here
            return(true);
        }