Skip to main content
Jitendra Singh (UST Global) a posé une question dans #Apex
I didn't understand the concept of callouts in apex . 

1. In batch - Callouts

2.In trigger  - Callouts 

3. In API - Callouts 

 
31 réponses
  1. 14 oct. 2024, 12:00

    Callouts in Apex are used to make external web service requests.

    1. Batch - Callouts: Allowed in the execute method of a batch job, enabling integration with external services during batch processing.
    2. Trigger - Callouts: Not recommended due to potential delays in transactions. Use asynchronous methods like @future or Queueable instead.
    3. API - Callouts: External API requests made via Apex’s Http and HttpRequest classes to communicate with third-party systems.
    1.  
    1. Grow your small business with targeted digital marketing services designed to meet your specific needs and boost your online presence.
0/9000