Experience Salesforce
Languages Used in creating APIs
What You’ll Learn
- Types Of Languages Used In Creating APIs
Topics
- APIs in Salesforce
- Need of API in Salesforce
- Languages Used in creating APIs
- How Communication Happens in APIs
- Types of APIs in Salesforce
- REST API Part 1
- REST API Part 2
- REST API Part 3
- REST API Part 4
- REST API Part 5
- REST API Part 6
- REST API Part 7
- REST API Part 8
- REST API Part 9
- SOAP API Part 1
- SOAP API Part 2
- SOAP API Part 3
- SOAP API Part 4
- SOAP API Part 5
- Metadata API in Salesforce
Types Of Languages Used In Creating APIs
There are two most commonly used languages for communication between platforms:
1. JSON
JavaScript Object Notation is the language that works on JS concepts, can use an array, and is easy and quick to read.
{"Students":[
{ "firstName":"Harry", "lastName":"Potter" },
{ "firstName":"Steve", "lastName":"Smith" },
{ "firstName":"Tony", "lastName":"Starc" }
]}
2. XML
Extensible Markup Language is the language that do have tags and is used earlier when JSON hasn’t got introduced. Now, it is not that in use.
<Student>
<Student>
<firstName>Harry</firstName> <lastName>Potter</lastName>
</Student>
<Student>
<firstName>Steve</firstName> <lastName>Smith</lastName>
</Student>
<Student>
<firstName>Tony</firstName> <lastName>Starc</lastName>
</Student>
</Student>
Need Extra Support? Our FREE study materials have got you covered.
Our expert-prepared study materials provide the answers you need. Clear your doubts and improve your skills with detailed notes from industry professionals.