You need to sign in to do that
Don't have an account?

Lightning weather component not working
I am trying to develop a Lightning Component which will display the weather report. I am sending the request to the server and I am also getting success response. However, I am not getting the weather report on my Lightning Component.
Here are my codes:
Any help in this regard would be highly appreciated.
Thanks!!
Please use:-
private static final String API_KEY = 'a032cd22e82569598abe1dced7625435';
String endpoint = 'http://api.weatherstack.com'; or else it will give unauthorized endpoint.
After using endpoint - http://api.weatherstack.com' and API_KEY = 'a032cd22e82569598abe1dced7625435', I am getting the Success message in the response from the server. However, I am not getting the weather report in my Lightning Component.