This article is a mirror article of machine translation, please click here to jump to the original article.

View: 40569|Reply: 1

[Source] Invalid URI for FormUrlEncodedContent: The URI string is too long

[Copy link]
Posted on 9/23/2016 5:40:05 PM | | | |


post is a base64 image string, the string is very long, and an error will be reported with FormUrlEncodedContent,

Then, I don't know what to do!!!!

Finally, I found this thing:

Summary:
        Create a new instance of the System.Net.Http.StringContent class.
        //
        Parameters:
        //   content:
        Used to initialize the contents of System.Net.Http.StringContent.
        public StringContent(string content);


Finally succeeded!!

As shown below:






Previous:node.js solution to reading text Chinese garbled Chinese characters
Next:C# develops the POP3 client of the email to receive the email
Posted on 11/20/2020 4:58:43 PM |
Hello
I have the same problem as the post
But I didn't solve it here. Can I discuss it with you, thank you.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com