I'm trying to make a download request from an API which requires me to include the Base64 String of a PDF in the URL. I'm using the WebClient.DownloadString() method and it gives me a System.IO.PathTooLongException.
I know there's a limit on the characters in the URI (~60k) and my URI are a couple thousand above that, so I don't think setting a base url or anything would help. Is there any way to bypass the URI character limit?