function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
B KarthickeyanB Karthickeyan 

trigger an LWC page from Apex method

I would like to trigger an LWC page from Apex method. I tried using PageReference as a return type but it didn't help me. If someone tries the same please add your comments. 


Here is the reason why I am trying this:
 I am trying to make an API call from Apex but it through a certification Error but If I try the same Endpoint from LWC I am getting the expected response. In this case, I am planning to write a schedule (every 30min) class and invoke the LWC component. please add your comments or what could be the alternate solution. 
AbhishekAbhishek (Salesforce Developers) 
Can you provide what is the certification error?