I am having this error: The remote server returned an error: (500) Internal Server Error. Please help me and give me a reasonable explanation for this so that i may be reasonable for my client to answer.
My C# code to get the api data is as following:
void GrabMoviesOfGenre(string Genre)
{
var request = System.Net.WebRequest.Create("http://api.themoviedb.org/3/genre/" + Genre + "/movies?api_key=####&page=1") as System.Net.HttpWebRequest;
request.KeepAlive = true;
request.Method = "GET";
request.Accept = "application/json";
request.ContentLength = 0;
responseContent = null;
using (var response = request.GetResponse() as System.Net.HttpWebResponse)
{
using (var reader = new System.IO.StreamReader(response.GetResponseStream()))
{
responseContent = reader.ReadToEnd();
}
}
}
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 6. September 2014 um 10:52
This is already being discussed here: http://www.themoviedb.org/talk/540a5eacc3a36879ab00080c
Let's keep the discussion in one thread.