Network error with axios and react native

前端 未结 7 2249
暗喜
暗喜 2021-01-19 13:35

I have created an API endpoint using the Django python framework that I host externally. I can access my endpoint from a browser (mydomain.com/endpoint/) and ve

7条回答
  •  天涯浪人
    2021-01-19 14:07

    1. change from localhost to your ip(192.168.43.49)
    2. add http://

      http://192.168.43.49:3000/user/

提交回复
热议问题