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
trick1trick1 

Http Mechanism

Hi,

 

Scenario:-is Posting data to web service.

 

If I call  rest based web service written in Apex from outside salesforce and pass some parameters to it .Do I have to parse those parameters before I query data in salesforce.I am only posting data,therefore,can I query salesorce without parsing data.

 

The rest based web services can use json format and when we send request data to the web service the response which we get has to be parsed before we do something more with data.

Avidev9Avidev9
I guess you have to parse it, but entirely depends upon how you pass data.

There are lots of method available in JSON class which can easily get your data parsed.