add support for body content in request if provided