DEV Community

Discussion on: In Expo 40.0 how can I make Https request using axios.

amanhimself profile image
Aman Mittal

The main reason could be for the problem you are facing is CORS. If, from the server side/API, the CORS is not enabled then you won't be able to fetch the data from the API. Is that the problem you are facing?

You can use the developer console to debug and check out the error in chrome console for the expo app. Here is more information you can find out on how to use Debugger in Expo apps:

Let me know if you are able to resolve it or not.

Thread Thread
divyesh05 profile image

Thanks yes, you're right it's related CORS..
Thank you once again..