fetch を使ってインターネット上のAPIからデータを取得して、ページに表示できるようになる。 APIってなに? API(Application Programming Interface) とは、外部のサービスからデータをもらうための「窓口」のことです。 たとえばお天気アプリは自前で気象データを ...
Experimental global fetch API that simplifies writing cross-platform HTTP request code is available by default in the latest version of the popular JavaScript runtime. Node.js 18, the latest version ...