I don't understand why this isn't working. I'm using the WinHttp object.
I add the request header - $oHTTP.SetRequestHeader("accept", "application/json") For example: $oHTTP.open("GET", "http://themoviedb.apiary.io/3/search/movie?api_key=ABCMYKEY&query=aURIEncodedMovie&year=2011)
But I get this is response: Private API, Please provide private hash
Thanks
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от decipher
, 13 июня 2013 в 08:38
Well as the documentation is providing a dummy URL. >< It works with http://api.themoviedb.org/
Ответ от Travis Bell
, 13 июня 2013 в 10:31
Yes, as stated in our documentation Apiary is a tool you can use to help troubleshoot requests. It is not our production service.
api.themoviedb.org
is and that's what you should be calling to make real world requests.