How to call remote APIs

#1

I am a web developer and I use a lot ajax calls in my application. I am new to Expo, how do I do that in expo?

#2

Take a look at the fetch API. It’s a promise-based API for network requests, so it’ll probably feel pretty familiar.

1 Like
#3

yup! fetch is a wrapper around XMLHttpRequest, which is also available in react-native/expo. you can use other libraries like axios if you want. basically you don’t need to change how you do it on web

1 Like
#4

Do you have any examples for that? I am kind of coming from old school , today’s javascript looks very different language. Maybe a jquery example will do .