LWC EXCHANGE – SCENARIO 8

Make an Public API callout In Lightning Web Component and Display the results in Lightning Card

This scenario has been designed for developer who possess Advanced skills in Lightning Web Component.

Problem Statement

  • Create a Lightning Web Component named publicApiCallout
  • Provide a custom lightning button to invoke the API
  • Sample Response of the API will be
{
  "activity": "Write a thank you letter to an influential person in your life",
  "type": "social",
  "participants": 1,
  "price": 0,
  "link": "",
  "key": "4101229",
  "accessibility": 0.1
}
  • Display the response in Lightning Card

Do you need help?

Are you stuck while working on this requirement? Do you want to get review of your solution? Now, you can book dedicated 1:1 with me on Lightning Web Component completely free.

GET IN TOUCH

Schedule a 1:1 Meeting with me

Also check out https://salesforcediaries.com/category/lightning-web-com

Leave a Reply