JSFiddle - React, Tailwind, and code Playground

by Ford Heacock

JavaScript

async function getPostAsync() {
    const response = await fetch('https://jsonplaceholder.typicode.com/posts/1');
 /*    const movies = await response.json();
     */
    return response;
}

getPostAsync().then(movies => console.log(movies));