http.js(동일) export async function fetchUserList(){ //데이터 요청 응답 수신 const response = await fetch("https://reqres.in/api/users?page=2", { method: "GET" //정상요청 //method: "PUT" //에러 출력을 위한 put 사용 }); //비동기 요청: promise 객체 리턴 => await 처리 //await 사용함수는 전체를 async 처리해주어야 함 if(!response.ok){ console.log("fetchUserList.Error"); throw new Error("UsersList 요청 예외"); } const resData = await response.json(); ret..