Slim 4 Body Parsing Middleware returns empty string

Hi,

I have added body parsing middleware and I’m sending json request by axios and there is no data avaliable by getBody() method from request. Is this some kind of bug? Do you have solution for this?

Just try: $jsonData = (array)$request->getParsedBody();

http://www.slimframework.com/docs/v4/objects/request.html#the-request-body