Real time Salesforce Project:: Show Weather Details of city- Part 2!

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น •

  • @codewith_Khan
    @codewith_Khan  7 หลายเดือนก่อน

    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!

  • @gopalraorangaraj5842
    @gopalraorangaraj5842 7 หลายเดือนก่อน

    End point not working could you please provide url.

    • @codewith_Khan
      @codewith_Khan  7 หลายเดือนก่อน

      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