Fetch API example
Open DevTool and see the console logs.