Folks, I forgot to mention in the video that since we are using Named Credentials then Remote Site Setting will no more be required hence we can simply delete the respective Remote Site Setting for Weather API. Thanks!
Hey! The endpoint URL should be like below, you can hit the URL directly in browser tab to see the result api.openweathermap.org/data/2.5/weather?q=pune&&APPID=ab4a188555840adac4da0dcd68d4cf95 Please generate your own API key and make sure if you are using named credential then base URL will start with "https" instead of "http" Do watch this video to get clear understanding on generating your own API key and also go through the code th-cam.com/video/XhzbRV0vCjw/w-d-xo.html Source code link: github.com/shahbazkhan800/TH-cam-Tutorials/tree/main/Weather%20Forecast%20Project/force-app/main/default
Folks, I forgot to mention in the video that since we are using Named Credentials then Remote Site Setting will no more be required hence we can simply delete the respective Remote Site Setting for Weather API. Thanks!
End point not working could you please provide url.
Hey! The endpoint URL should be like below, you can hit the URL directly in browser tab to see the result
api.openweathermap.org/data/2.5/weather?q=pune&&APPID=ab4a188555840adac4da0dcd68d4cf95
Please generate your own API key and make sure if you are using named credential then base URL will start with "https" instead of "http"
Do watch this video to get clear understanding on generating your own API key and also go through the code
th-cam.com/video/XhzbRV0vCjw/w-d-xo.html
Source code link:
github.com/shahbazkhan800/TH-cam-Tutorials/tree/main/Weather%20Forecast%20Project/force-app/main/default