I want to send a http callout to a external system we are intergrating with.
How do I go about setting up this class so that when a user updates any record, this message is sent out to the external system: "http://{Salesforce}/{RecordId}/{UserId}/{Action}"
where {salesforce} is hardcoded and {Action} is a dml action like update, delete etc.
I am hoping this will be a class that accepts parameters since this needs to be fired whenever a dml action has been done from a number of objects.
Also, I am assuming the method has to be POST
.