You need to sign in to do that
Don't have an account?
Sandeep TechAffinity
How to Show Toast Message every time we get a API response ?
Hi Guys,
We have a Webservices which call every day but the time is not guaranteed, Now I want to show a toast message whenever got a response. Please help me with the code.
Thank You
Sandeep
We have a Webservices which call every day but the time is not guaranteed, Now I want to show a toast message whenever got a response. Please help me with the code.
Thank You
Sandeep
You can tweak this code from https://salesforce.stackexchange.com/questions/361186/how-can-i-show-the-api-response-in-my-component-with-toast according to your requirement.
Related: https://salesforce.stackexchange.com/questions/279199/call-toast-notification-in-lwc-from-within-fetch-method
If this information helps, please mark the answer as best. Thank you