[Django]-JSON data not coming through from Django REST API

4👍

You are now console logging the subscription, so the output you are getting in your console is correct. To console log the response, do:

this.weatherstatsservice.getWeatherData()
  .subscribe(data => {
    this.data = data;
    console.log(this.data)
  })
👤AT82

Leave a comment