online json beautyer code example
Example 1: json beautify
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))
Example 2: json beautify
fetch('https://fakestoreapi.com/products/6',{
method:"DELETE"
})
.then(res=>res.json())
.then(json=>console.log(json))