data dummy json
fetch('https://jsonplaceholder.typicode.com/todos')
.then(response => response.json())
.then(json => console.log(json))
Frightened Frog
fetch('https://jsonplaceholder.typicode.com/todos')
.then(response => response.json())
.then(json => console.log(json))
For API Part: I use "https://www.mockaroo.com/" ==>
generates multiple format (CSV, JSON, XML, etc)
"_id": {
"$oid": "610b1d9bd6f59419f4a4197a"
},
"local": {
"ban_pass": 0,
"ban_login": false,
"username": "nguyencoi98",
"password": "$2b$12$LdXaj4Ont8tvM9Fucxl/tuFpdTfmIrbJeyZ4Xw0qzn.k8le8SrVK.",
"regDate": {
"$date": "2021-08-04T23:07:07.721Z"
}