private function setBodyRequest(RequestInterface $request, array &$requestSettings): RequestInterface
    {
        $multipartBody = [];
        foreach ($requestSettings as $key => &$value) {
            $multipartBody[] = [
                'name' => $key,
                'contents' => $value
            ];
        }

        return $request->withBody($this->transport->createStream($multipartBody));
    }