Beat the Heat with Cool Discounts

Grab Up to 20% Off on Self-Paced Courses!

Explore Now
13

Languages Used in creating APIs

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>

salesforce-developer
Next Topic

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.

Book Free15-Minutes Career Counselling