I am developing a simple app using React Native. I am testing it on Android device. I have created a Node.js server to listen to the requests, it is running at http://localhost:3333/.
Next, I am making a fetch request from index.android.js. Below is the code.