Reading a local JSON file in JavaScript using Fetch API

preview_player
Показать описание
#javascript #fetchapi
How to use JavaScript Fetch API to read a local JSON file and how show the result in console.
How to show fetched data in web developer console.

JavaScript Shorts:
Рекомендации по теме
Комментарии
Автор

I love the rain sounds. Thanks for the tutorial!

smf
Автор

thank you very much finally after a few day resolve thanks bro

exoaxse
Автор

Put the sound of typing in your next video

NTFG
Автор

new to APIs i am looking to find a way for this to show in my terminal. get an ERR_INVALID_URL error

antcannon
Автор

Hey i would like to know how did you do to read the local file because i always get an error message telling me something about cross references policy!!!!

carloseduardomenendezm.
Автор

Can you please help me I have name and regarding mail I'd in json file when I dynamically call the name and mails to usin Javascript in my html code in that time i am getting only names not emails what is the cause

unknownhacker
Автор

Similarly, is it possible to update/write data into json file using fetch or any other function..for me Im trying to update using fs but giving error as writeFile not function

tirthpatel
Автор

thanks man,
quick and easy solution.
I have a question, how can I move the variable inside the function out?

ertekinertunc
Автор

But I want only one name and capital
How to do that

bashirajasu
Автор

Does this are possible in axios in react native

gouravnainwaya
Автор

Do video on how to fetch json file from remote api also brother 😊

satishsgm
Автор

Why it is working on live server but not on chrome.

parveenchoudhary
Автор

Anyone knows how to store data to a variable outside the fetch function?

umangternate
Автор

I cant get it to work either. What am I missing.

TdukeTduke
Автор

put some moaning sound in next video please 🙏

kirandev
Автор

I have done the same way but fetch is not defined, could you please help

biswajitmohanty