In strapi v4 ctx.request.body is undefined in middleware

I Have added the middleware in following order

'strapi::poweredBy',

    'strapi::logger',

    'strapi::query',

    'strapi::session',

    'strapi::favicon',

    'strapi::public',

    'strapi::body',

    'global::validate-jwt',

but in the middleware on graphql query i can’t able to modify the request.body which was displaying undefined, but it was returning response

1 Like