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
ran67ran67 

To read the json data from request

Hi,

I have small doubt , i have integared the webhook to salesforce.

In my requirement when i change the    status  of my record  in the campagin mointor 

A site url is  posted  to the salesforce am able to run my  visualforce page and class.

am able to get all the header when am using the 

  MAP<String,String> s1=ApexPages.currentpage().getHeaders();

 am able to get  all the header related to the request .

In that request it contains  json data . now am want to read the json  data and i need to update record in salesforce am able to get the content length and content type.I want the json data  from it

 

 

 

Abhi_TripathiAbhi_Tripathi

Hey Ran,

 

Go for this link its JSON Parsing from a callout 

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_json_jsonparser.htm

ran67ran67
Thanks for ur reply,

How we can Process the Form Post data