13
Languages Used in creating APIs
Chapter 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 more support?
Get a head start with our FREE study notes!
Learn more and get all the answers you need at zero cost. Improve your skills using our detailed notes prepared by industry experts to help you excel.