79083282

Date: 2024-10-13 13:53:08
Score: 1
Natty:
Report link

just use a fetch request to send a request to backend. for example

const res = await fetch("http://localhost:8080/api/v1/users");
const data = await res.json();

// use the data.

make sure you user "http://10.0.2.2:8080" for react native in development.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Aamir Khan