+ Start a Discussion
inbox outbox 7inbox outbox 7 

Expect: 100-Continue vs Continuation

Is continuation the same the Expect: 100 - Continue in the header of the request
@AuraEnable(Continuation = true Cacheable = true)
PriyaPriya (Salesforce Developers) 

Hey,

Can you kindly elaborate this?

Regards,

Priya Ranjan

inbox outbox 7inbox outbox 7
It is inregards to integration. 
Continuation: 

@AuraEnable(Continuation = true Cacheable = true) : To make the callout asynchronous and so we can avoid the timeout limit or to avoid hitting the limit which says 10 long running operations are only allowed synchronously

!00-Continue: When send this in the header of request (http request), we are sending the request without the body to make sure everything is okay, the endpoint system will then reply with 100 continue, indicating everything is okay so far and to continue with the request. Then the request is continued with the body again.