Hello, how is it possible to send a request for a movie to the APi?
I found this, but where is the part where i can add the name i am looking for?
Example: SampleName -> Where have i to add this at the api?
var request = System.Net.WebRequest.Create("http://private-d576-themoviedb.apiary.io/3/movie/{id}") as System.Net.HttpWebRequest; request.Method = "GET"; request.Accept = ""application/json""; request.ContentLength = 0; string responseContent; using (var response = request.GetResponse() as System.Net.HttpWebResponse) { using (var reader = new System.IO.StreamReader(response.GetResponseStream())) { responseContent = reader.ReadToEnd(); } }
Can't find a movie or TV show? Login to create it.
Elementu hau kalifikatu edo zerrenda batera gehitzea nahi al duzu?
Ez zara kidea?
Travis Bell Erabiltzailearen Erantzuna
Martxoa 5, 2014 egunean 9:41 AM(e)tan
A few things…
For title based searching, you're going to want to use the search endpoints. You can use the
?query
parameter to do that. You'll also probably want to switch your request to the real production server, so a URL like this:Cheers.
King2k7 Erabiltzailearen Erantzuna
Martxoa 6, 2014 egunean 2:21 PM(e)tan
Is there any way to get a XML file back at my request?
Travis Bell Erabiltzailearen Erantzuna
Martxoa 6, 2014 egunean 2:50 PM(e)tan
No, our API is JSON only.