You need to sign in to do that
Don't have an account?
Ryan Raymundo 1
handle webbooks from other site in salesforce
I have created an apex class @RestResource and with @HttpPost, now how can it handle webhook w/o authentication?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You can refer to the below link on Salesforce Webhook Integration.
https://hevodata.com/learn/salesforce-webhook-integration/
Please follow the Salesforce help article
https://help.salesforce.com/s/articleView?id=sf.c360_a_create_a_data_action_target_of_webhook_type.htm&type=5
Please mark it as Best Answer if the above information was helpful.
Thanks.
All Answers
You can refer to the below link on Salesforce Webhook Integration.
https://hevodata.com/learn/salesforce-webhook-integration/
Please follow the Salesforce help article
https://help.salesforce.com/s/articleView?id=sf.c360_a_create_a_data_action_target_of_webhook_type.htm&type=5
Please mark it as Best Answer if the above information was helpful.
Thanks.
My issue is I cant get the authorization basic using this code:
RestRequest req = RestContext.request;
if (req.headers.get('Authorization') == null)
{
// always goes here
authorizationHeaderValue = 'Null';
}
but using https://webhook.site/, header auth is being passed and working as expected.
Welcome :) Please consider marking the answer best so it can help others too. Thank you