A. Use the asyncSend() method of the HTTP class to send the request in async context
B. Ensure all callouts are completed prior to executing DML statements
C. Move the web service callout into an @future method
D. Use Database.insert (order, true) to immediately commit any database changes

Suggest answer: BC

Reference:

No comments:

Please share to make the community better.