Rest API

Akash SatputeAkash Satpute
2 min read

Today's Learning

  1. What is API

  2. What is SOAP?

  3. Why REST?

  4. What is URI?

  5. HTTP Methods

  6. RESTFUL WEB SERVICES

One of the key distinctions between REST and SOAP lies in the data format they use for message exchange.

  1. REST (Representational State Transfer): RESTful services commonly use JSON (JavaScript Object Notation) as the data format for message payloads. JSON is a lightweight, human-readable data interchange format that is easy to parse and generate. It is based on key-value pairs and supports arrays and nested structures. JSON is widely supported by programming languages and web frameworks, making it a popular choice for RESTful APIs.

  2. SOAP (Simple Object Access Protocol): SOAP services, on the other hand, typically use XML (eXtensible Markup Language) for message exchange. XML is a markup language similar to HTML, but it is more flexible and extensible. SOAP messages are structured using XML elements, attributes, and namespaces. While XML is verbose compared to JSON, SOAP offers features such as formal message exchange patterns, security, and transaction support.

HTTP Methods

НТТР (Hypertext Transfer Protocol) is the foundation of data communication on the web. At its core, HTTP defines a set of methods indicating the desired action for a given resource. This comprehensive guide will unravel the intricacies of popular HTTP methods. HTTP methods, also known as verbs or operations, represent the actions a client wants to take on a resource. Here are the primary HTTP methods: • GET Method • POST Method • PUT Method • DELETE Method

Click here,Refer this pdf for more details

10
Subscribe to my newsletter

Read articles from Akash Satpute directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Akash Satpute
Akash Satpute