I am trying to get data from an URL using a WebClient
, but I’m getting the error mentioned in the title.
This is my code:
using (WebClient wc = new WebClient())
{
byte[] bytes = wc.DownloadData("my-url");
}
Error:
The remote server returned an error: (413) Request Entity Too Large