여러 요청을 보낼때 비동기가 필요한 것 같다. 공부하자
https://developer.mozilla.org/ko/docs/Learn/JavaScript/Asynchronous/Async_await