IRestRequest breaking JSON into multiple Form Inputs

We are having an issue with IRestRequest. When trying to consume a JSON request, if there is a & in a Json String, IRestRequest is breaking the request Form input more then 1 variable which is causing issues.

How can we resolve this?

Parents Reply
  •         public static string GetDocumentContents(System.Web.HttpRequestBase request)
            {
                // reset the stream position as telligent has already read the input stream
                if (request.InputStream.CanRead && request.InputStream.CanSeek)
                {
                    request.InputStream.Position = 0;
                }
                else
                {
                    throw new Exception("Unable to reset input stream");
                }
    
                string documentContents;
                using (Stream receiveStream = request.InputStream)
                {
                    using (StreamReader readStream = new StreamReader(receiveStream, Encoding.UTF8))
                    {
                        documentContents = readStream.ReadToEnd();
                    }
                }
                return documentContents;
            }


    Something like this might help 

Children
No Data