I'm trying to query with parameters. For example:
http://api.themoviedb.org/3/discover/movie?api_key=KEY&year=1999
No matter what parameters I add to a query, it just returns the default output as if the added parameters were not there.
I'm wondering if it's something wrong with my api key? It's been a while.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
Michael Stubblefield님의 댓글
7월 13, 2016 at 7:19 오후
So I just tried it in a browser and it works correctly. It is only giving me this problem with curl:
curl http://api.themoviedb.org/3/discover/movie?api_key=KEY&year=1999
Michael Stubblefield님의 댓글
7월 14, 2016 at 11:30 오전
so figured it out. if anyone sees the same issue, you need to quote the url from the command line. If not quoted, '&' is interpreted by bash.
Travis Bell님의 댓글
7월 15, 2016 at 10:43 오전
Hi Michael,
Happy to hear you figured it out.