Asynchronous Apex

|
| By Rushali kashyap

Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations

Allow the Cross Origin Request (CORS)

| By Webner

Cross Origin issue is resolved by adding header(“Access-Control-Allow-Origin: http://yoursite.com”); to allow the particular origin or we can also allow all the origin by replacing the path to *. For Cake php header is defined in file public/index.php. Code: header(“Access-Control-Allow-Origin: http://yoursite.com”);