I am trying to get the API on the react-native interface by calling with Axios but getting a network error. My API is written in .net core version 3.0. I have successfully tried postman but failed to call Please help me fix it.enter image description here
Asked
Active
Viewed 73 times
0
-
CORS issue may be? – Ketan Ramteke May 25 '20 at 04:01
-
please doublecheck the IP 10:20:*:* vs localhost under the same network. – Parvej Mallick May 25 '20 at 04:58
1 Answers
0
You can passing header in your axios request to fix CORS as Ketan Rampteke's reply. Follow link .
Chào thân ái người anh em <3

meowww
- 138
- 7