Fetching data - react native 2

Hi,

unable to get the data from the API. following is the o/p of the console statement - console.log('listings: ’ + listings)

listings:
listings:
listings:

Error
Cannot GET /listings

please help me with this.

issue solved. gave wrong ‘baseURL’.

Hi, could you describe how did you solve the issue? I met the same issue now. You just said wrong ‘baseURL’, so what is the correct one ?