I got the API address and wrote it, but I can't get the data from the site. Is there something wrong
What data is captured in console.log(json)? If the API is not called normally by AJAX's POST method Change to GET method! type: "GET" The calling method may have changed in the middle. If you type "https://api.themoviedb.org/3/movie/popular?api_key=10923b261ba94d897ac6b81148314a3f&page=1 " in the chrome window, you can see the data being called normally! The fact that it was called from Chrome and the data was fetched means that this API should now be called GET!!
https://github.com/eomsy1988/web-study.git Git commit -m 'first time using code store' and it says, "Please tell me who you are" instead of the results from the lecture. so git config --global user.email "My email address in github" git config --global user.name "My ID on github" Two lines like this solved the problem.