You need to sign in to do that
Don't have an account?
naman
How to work with WorkMarket Webhook, test it and get response in salesforce
How can I test the response for this event as I are not able to get the debug log in salesforce based on webhook event triggered. I am giving this URL to Base Url https://retailenv-sourcesupport.cs12.force.com/services/apexrest/workmarket_webhook. This include site url then /services/apexrest/workmarket_webhook. workmarket_webhook is mentioned in apex class @RestResource(urlMapping='/workmarket_webhook/*').
I need to know what should I put in Header if I add some Headers mentioned in image below and what should I put in body part. As I know these two are predefined in other website webhook we don't need to put Headers and Body manually. I tried to test it for many events but it does not response back to salesforce apex class and no debug log is making. Also, there is no button something like "test response" here.
Please let me know what I am doing wrong here.
I need to know what should I put in Header if I add some Headers mentioned in image below and what should I put in body part. As I know these two are predefined in other website webhook we don't need to put Headers and Body manually. I tried to test it for many events but it does not response back to salesforce apex class and no debug log is making. Also, there is no button something like "test response" here.
Please let me know what I am doing wrong here.
Shashank (Salesforce Developers)
This might give you some clues: https://www.salesforce.com/us/developer/docs/api_rest/Content/quickstart_code.htm#get_version