
현재 새롭게 처음부터 app.py를 만들어서 제작을 하는 중인데....

수업 초반에 만들었던 <button>관련 html이...localhost 5000번에서 분명 연결해제(disconnect)를 했는데도 불구하고...

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>--> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script><!-- <script>--><!-- function hey(){--><!-- $.ajax({--><!-- type:"GET",--><!-- url:'/test?title_give=봄날은간다!',--><!-- data:{},--><!-- success:function(response){--><!-- console.log(response);--><!-- }--><!-- })--><!-- }--><!-- </script>--> <script defer> function hey(){ $.ajax({ type: "POST", url: "http://localhost:5000/test", data: { title_give:'봄날은간다' }, success: function(response){ //console.log(response) alert(response['msg']) } }) } </script></head><body> <h1>나의 첫 웹페이지!</h1> <button onclick="hey();">버튼을 만들자</button></body></html>
위 내용의 html페이지가 뜨고 있어요...;;;;
시간이 지나야 이 문제는 해결될수 있는걸까요... 이거 때문에...

이 페이지 관련해서 수업 내용에 대한 진도 진행이 어려워지고 있어요..^^;;;;
또 기존 localhost:5000/test 페이지에서 제가 확인을 해봤는데...
에러 메시지가..

이렇게 뜨는데 중간에 어떤 소스가 엉켰는지 잘 모르겠더라구요^^;;;;;;
