According to me when i run my application on actual device i dont think the device would recognise routes of api which is running locally on my pc.
As during development of websites we run backend and frontend on the same devices so pinging api's is not a problem as they are running on tbe same device.
submitted by /u/diamu_sirah
[link] [comments]