Created
April 20, 2021 18:39
-
-
Save gegeke/3f5dd2845775a8c654b69080ebebe71c to your computer and use it in GitHub Desktop.
Creating an API HUB 01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetchAPI = async () => { | |
const response = await fetch('https://jsonplaceholder.typicode.com/todos/1') | |
return response | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment