I want to get data from the server every one second. Suppose that I have data.json in the server. I want to fetch that file. Can I use the following code.
fun