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
Vegaln1Vegaln1 

Is it possible to have a trigger send a HTTP post to a application?

I have  a boolean field I would like to have send a HTTP post to another app when set to true. Is this possible with a t rigger? If so are there some examples I could use to implement this?

 

Regards,

Best Answer chosen by Admin (Salesforce Developers) 
Anand@SAASAnand@SAAS
Yes you can do a HTTP POST from a trigger context. Refer to http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful.htm for more details on HTTP classes in Apex.

All Answers

Anand@SAASAnand@SAAS
Yes you can do a HTTP POST from a trigger context. Refer to http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful.htm for more details on HTTP classes in Apex.
This was selected as the best answer
Vegaln1Vegaln1

Thank you. That worked for me.

Regards,

Message Edited by Vegaln1 on 02-17-2010 11:31 AM