lib/fakeit/app/app.rb in fakeit-0.5.3 vs lib/fakeit/app/app.rb in fakeit-0.6.0

- old
+ new

@@ -34,10 +34,10 @@ [operation.status, operation.headers, [operation.body]] end def validate(operation, request) operation.validate( - body: request.body&.read.to_s, + body: BodyParser.parse(request), params: parse_query(request.query_string), headers: headers(request) ) end