01 | Introduction To ASP.NET Web API | What Is Web API ? Web API In ASP.NET | Web API (Hindi/Urdu)

Programentor
6 Oct 202324:33

Summary

TLDRThe lecture series introduces the concept of Web APIs, emphasizing their importance in web development and their role in allowing multiple software applications to reuse and interact with data. It explains APIs as a set of predefined functions and protocols that facilitate software and application development. The video uses examples like weather updates and login systems to illustrate how APIs can be accessed across various platforms and devices. It also touches on RESTful services, discussing the architectural style and constraints that make web APIs efficient and reusable, focusing on the use of HTTP methods like GET, POST, PUT, and DELETE for data exchange.

Takeaways

  • 😀 The lecture series is about ASP.NET Web API, a topic that many viewers have requested for its importance in web development.
  • 🌐 Web API is a concept that is often misunderstood by students, despite being a fundamental aspect of web development and not as complex as perceived.
  • 🔌 Web API stands for Application Programming Interface, which provides a set of routines, protocols, and tools for building software and applications.
  • 📚 The importance of understanding Web API is emphasized, as it is a common requirement for web development jobs, often asked in interviews.
  • 💡 The concept of reusability is central to APIs; they are designed to be used multiple times across different software applications.
  • 🛠️ APIs can be built using various technologies, not limited to web technologies, allowing for a wide range of applications.
  • 🌟 Examples of APIs include weather updates and login systems, which are used across multiple platforms like websites, mobile apps, and even IoT devices.
  • 📊 The data exchanged through APIs is typically in XML or JSON format, which are lightweight and easy to parse.
  • 🌐 Web APIs interact with databases and provide resources that can be accessed across different applications, such as mobile apps, desktop apps, browsers, and IoT.
  • 📝 The lecture also covers the concept of REST (Representational State Transfer), an architectural style that defines the rules for implementing Web APIs, making them more accessible and easier to use.

Q & A

  • What is the main topic of the lecture series?

    -The main topic of the lecture series is about .NET Web API, focusing on the concept and implementation of APIs in the context of web development.

  • Why are Web APIs considered important in web development?

    -Web APIs are considered important because they allow for the creation of reusable components that can be used across different software applications and web services, making development more efficient and organized.

  • What does the acronym API stand for?

    -API stands for Application Programming Interface, which is a set of routines, protocols, and tools for building software applications.

  • What is the full form of REST as mentioned in the context of Web APIs?

    -REST stands for REpresentational State Transfer, which is an architectural style that defines a set of constraints to be used for creating networked applications.

  • What are the two common formats in which data is exchanged through Web APIs?

    -The two common formats in which data is exchanged through Web APIs are XML (eXtensible Markup Language) and JSON (JavaScript Object Notation).

  • How does the concept of reusability relate to Web APIs?

    -Web APIs are designed to be reusable, allowing developers to implement the same API across multiple software applications and services, thus reducing redundancy and improving efficiency.

  • What is the role of HTTP protocol in the context of Web APIs?

    -The HTTP (Hypertext Transfer Protocol) protocol plays a crucial role in Web APIs as it facilitates the communication between the client and the server, enabling the transfer of data in the form of requests and responses.

  • What are some common methods or verbs used in HTTP requests to interact with Web APIs?

    -Common HTTP methods or verbs used to interact with Web APIs include GET (to retrieve data), POST (to submit data), PUT (to update data), and DELETE (to delete data).

  • Can Web APIs be implemented using technologies other than web technologies?

    -Yes, Web APIs can be implemented using various technologies that provide the capability to create APIs, not limited to web technologies.

  • What is the significance of understanding RESTful principles when working with Web APIs?

    -Understanding RESTful principles is significant as it provides a structured way to design and implement Web APIs, ensuring they are stateless, scalable, and easy to maintain.

  • How do Web APIs help in reducing the workload for developers?

    -Web APIs help in reducing the workload for developers by allowing them to create a single API that can be used across multiple platforms and applications, thus avoiding the need to write separate code for each platform.

Outlines

00:00

💻 Introduction to Web APIs in .NET

The speaker begins a lecture series on .NET Web APIs, a topic requested by many viewers due to its practical application despite being considered a complex concept. The speaker emphasizes that Web APIs are not limited to web technologies and can be implemented in various programming languages. The importance of understanding Web APIs is highlighted, especially for those seeking jobs in web development, as they are a frequent topic in interviews. The lecture aims to clarify the concept of APIs and their implementation, starting with the basics of what an API is, according to Wikipedia, which defines it as a set of subroutine definitions, protocols, and tools for building software and applications. The speaker explains that APIs provide pre-defined functions or methods, protocols, and tools that can be used to perform tasks, and their reusability is a key feature, allowing developers to build and integrate software more efficiently.

05:01

🌐 Understanding and Examples of Web APIs

The speaker elaborates on the concept of Web APIs, using examples to illustrate their utility. The first example is a weather API that provides updates about the weather in a user's city or country. This API is a common feature across various platforms, including websites, mobile applications, and even tablet applications. The speaker emphasizes that while the API remains the same, it can be accessed across multiple clients and devices. Another example is a login API, which is a ubiquitous feature across different websites and applications, allowing users to register or log in. The speaker points out that these APIs can be used to perform specific tasks within different applications, highlighting the concept of reusability and the ability to integrate APIs into various software and applications.

10:03

📱 Web APIs and Client-Server Interaction

The speaker discusses how Web APIs interact with databases and how they can be used across different platforms such as mobile applications, desktop applications, browsers, and IoT devices. The speaker explains that before the advent of Web APIs, developers had to create separate interfaces for each type of client, which was time-consuming. With Web APIs, the same API can be used to access and provide data to mobile apps, desktop applications, browsers, and IoT devices, simplifying the development process. The speaker also touches on the formats in which data is exchanged with Web APIs, typically XML or JSON, and the use of HTTP protocol for data transfer, ensuring security and efficiency in data exchange.

15:03

🔗 HTTP Protocol and RESTful Web Services

The speaker delves into the HTTP protocol, which is fundamental to client-server architecture and data exchange in Web APIs. The speaker explains that data exchanged through Web APIs is typically in XML or JSON format and that the exchange occurs via HTTP methods or verbs such as GET, POST, PUT, and DELETE. The speaker introduces the concept of REST (Representational State Transfer), an architectural style that defines a set of constraints for creating scalable web services. The speaker emphasizes that understanding REST is crucial for implementing Web APIs effectively, as it dictates how the APIs should be structured and interact with clients.

20:04

🌟 Practical Examples of Web APIs

The speaker provides practical examples of Web APIs, such as an API related to coronavirus statistics, which aggregates data like total cases, deaths, and recoveries. This API is accessed by various clients, including mobile applications, desktop applications, and web browsers, to display up-to-date information on the pandemic. The speaker also discusses how data can be stored within the API by different clients, such as hospitals reporting new cases or deaths, demonstrating the two-way interaction between clients and the API. These examples serve to clarify the concept of Web APIs and their practical applications in real-world scenarios.

Mindmap

Keywords

💡API

API stands for Application Programming Interface. In the context of the video, it refers to a set of routines, protocols, and tools for building software applications. The video emphasizes the importance of APIs in web development, highlighting that they allow for the interaction with different software and services. An example from the script is the weather API, which provides updates about the weather in a specific city or country.

💡Web API

A Web API is a specific type of API that is designed to serve web-based applications. The video explains that Web APIs are crucial for accessing and manipulating data that is stored in databases or other services over the web. They are built using web technologies and follow web standards, making them accessible from various client applications like web browsers, mobile apps, and IoT devices.

💡REST

REST stands for Representational State Transfer and is an architectural style for designing networked applications. The video discusses REST as a pattern for implementing Web APIs. RESTful Web APIs follow certain constraints like using HTTP methods for data actions and are stateless, meaning each request from a client to a server must contain all of the information needed to understand and fulfill the request.

💡HTTP Protocol

HTTP, or Hypertext Transfer Protocol, is the protocol used for transmitting web pages over the internet. The video mentions that data exchange with a Web API typically happens over HTTP. It's the foundation for how clients and servers communicate, with methods like GET, POST, PUT, and DELETE being used to perform actions on data.

💡JSON

JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write and easy for machines to parse and generate. The video explains that JSON is a common format used for data exchange with Web APIs. It's used to transmit data structures and objects between a client and a server in a readable and concise manner.

💡Reusability

Reusability is the ability to use something again or the quality of being reusable. In the video, reusability is a key benefit of Web APIs. They can be used multiple times across different software applications, reducing the need to write duplicate code and making development more efficient. The script gives the example of a weather API that can be reused in various applications to fetch weather data.

💡Endpoints

In the context of Web APIs, an endpoint refers to a specific URL that clients can request to access a particular resource or service. The video discusses how Web APIs provide endpoints that allow clients to interact with web services. For example, an endpoint might be used to retrieve the latest coronavirus case numbers or to submit new data to a database.

💡Protocols

A protocol in computer networking is a set of rules governing the format and transmission of data. The video mentions protocols in the context of APIs, where they define the rules for how data is structured and exchanged. For instance, RESTful APIs follow certain protocols for how requests and responses are formatted and the methods used to interact with resources.

💡Clients

In the video, 'clients' refers to the various applications or devices that consume the services of a Web API. Clients can include web browsers, mobile apps, or even IoT devices. The script explains that Web APIs are designed to be accessed by multiple types of clients, providing them with the ability to retrieve or send data to the API.

💡Data Formats

Data formats define how data is structured and organized. The video mentions XML and JSON as common data formats used in Web APIs. These formats are important because they determine how data is represented when it's being exchanged between the client and the server. The choice of data format can affect the ease of data consumption and the efficiency of data transfer.

💡HTTP Methods

HTTP methods are the building blocks of HTTP, defining the way in which clients and servers interact. The video discusses methods such as GET, POST, PUT, and DELETE, which are used to perform different actions on resources. For example, GET is used to retrieve data, while POST is used to submit new data to the server. Understanding these methods is crucial for working with Web APIs.

Highlights

Introduction to the lecture series on ASP.NET Web API, emphasizing its importance in web development.

Explanation of the concept of a Web API and its significance in modern web development.

The importance of understanding Web API for job seekers in the web development field.

Definition of API according to Wikipedia, highlighting its role in software development.

Discussion on the composition of an API, including routines, protocols, and tools.

The concept of reusability in APIs and how it benefits software and application development.

Differentiation between Web API and other types of APIs, and the flexibility in technology choice for API development.

Examples of Web API usage, such as weather updates and login functionalities across various platforms.

The versatility of Web API in accessing data across multiple clients and devices.

Explanation of how Web API interacts with databases and the role of entities within it.

The evolution from traditional database access methods to the streamlined approach offered by Web API.

The data formats commonly used in Web API, such as XML and JSON, and their advantages.

The role of HTTP protocol in data exchange between clients and Web API.

Detailed explanation of HTTP methods (GET, POST, PUT, DELETE) and their use cases in Web API.

Introduction to RESTful architecture and its significance in designing Web APIs.

The constraints and rules of REST that make a Web API 'RESTful' and its benefits.

Practical examples of Web API implementation, such as tracking COVID-19 cases and hospital data uploads.

The potential for Web API to be accessed and utilized across various clients, including mobile applications and desktop applications.

Transcripts

play00:01

[संगीत]

play00:10

अच्छा आज से हम स्टार्ट कर रहे हैं एडनेट

play00:13

वेब एपीआई ठीक है तो यह एक लेक्चर सीरीज

play00:16

है जो कि बहुत ही ज्यादा व्यूवर्स ने मुझे

play00:18

कहा था कि सर इस टॉपिक के ऊपर बनाए ठीक है

play00:21

क्योंकि एक टिपिकल कांसेप्ट है मतलब

play00:24

टिपिकल तो नहीं है लेकिन इंटरनेट के ऊपर

play00:26

इसको इस तरह से इतनी टिपिकली इसको

play00:29

एक्सप्लेन किया जाता है कि स्टूडेंट्स को

play00:31

समझ में नहीं आता ठीक है हालांकि ये बहुत

play00:33

आसान सा कांसेप्ट है और इसको इंप्लीमेंट

play00:35

करना भी कोई इतना ज्यादा मुश्किल नहीं है

play00:38

लेकिन अगर आपको यह कांसेप्ट समझ में आ गया

play00:39

तो आप इजली इसको इंप्लीमेंट कर पाएंगे ठीक

play00:42

है तो ये प्लेलिस्ट जो है ये बिल्कुल मैं

play00:45

सिर्फ और सिफ अपने व्यूवर्स के लिए यहां

play00:47

पे स्टार्ट कर रहा हूं ठीक है तो as.net

play00:50

वेब एपीआई ठीक है बहुत ही ज्यादा

play00:52

इंपोर्टेंट कांसेप्ट ठीक है as.net के

play00:55

हवाले से और कोई भी अगर आप वेब डेवलपमेंट

play00:58

की लैंग्वेज यूज कर रहे हो इस तरह पीएसपी

play01:00

हो गई और बहुत सारी लैंग्वेजेस है ठीक है

play01:02

तो उनमें वेब एपीआई का कांसेप्ट बहुत

play01:04

ज्यादा इंपॉर्टेंस रखता है ठीक है मतलब

play01:07

अगर आपको वेब डेवलपमेंट की साइट में जॉब्स

play01:10

चाहिए तो वहां पे ये वेब एपीआई के

play01:13

क्वेश्चन लाजमी आपसे पूछे जाते हैं ठीक है

play01:16

तो ये लेक्चर आपने बहुत ध्यान से सुनना है

play01:19

ठीक है तो यहां पे आते

play01:22

हैं देखो सबसे पहले बिफोर वी अंडरस्टैंड

play01:25

व्हाट इज वेब एपीआई लेट्स सी व्हाट इज एन

play01:27

एपीआई ठीक है मतलब वेब एपीआई को समझने से

play01:31

पहले सबसे पहले हम ये समझते हैं कि एपीआई

play01:33

किसे कहते हैं ठीक है मतलब एपीआई की फुल

play01:35

फॉर्म सबको पता है एप्लीकेशन प्रोग्रामिंग

play01:38

इंटरफेस ठीक है यह तो इसकी फुल फॉर्म हो

play01:41

गई लेकिन यह होता क्या है ठीक है देखो एस

play01:45

पर विकिपीडिया डेफिनेशन ऑफ एपीआई अगर मैं

play01:48

विकिपीडिया के पॉइंट ऑफ व्यू से एपीआई की

play01:51

आपको डेफिनेशन समझाऊं तो देखो यहां पे

play01:53

क्या कह रहा है इन कंप्यूटर प्रोग्रामिंग

play01:56

एपीआई इज अ सेट ऑफ सब रूटीन डेफिनेशन

play02:00

प्रोटोकॉल्स एंड टूल्स फॉर बिल्डिंग

play02:03

सॉफ्टवेयर एंड एप्लीकेशन इसका मतलब

play02:06

अकॉर्डिंग टू विकपीडिया एपीआई की डेफिनेशन

play02:09

क्या है के इन कंप्यूटर प्रोग्रामिंग

play02:11

एपीआई को क्या कहा जाता है इज अ सेट ऑफ सब

play02:14

रूटीन डेफिनेशन सब रूटीन डेफिनेशन का मतलब

play02:17

इसको आप फंक्शन भी कह सकते हो ठीक है मतलब

play02:20

फंक्शन है मेथड्स है जो बने बनाए पहले से

play02:24

रखे हुए हैं एक एपीआई के अंदर ठीक है मतलब

play02:28

आपके पास सेट ऑफ सब डेफिनेशन है मतलब सेट

play02:31

ऑफ फंक्शंस है ठीक है जो कि एपीआई के अंदर

play02:34

आपके पास रखे गए हैं और उसको हम क्यों यूज

play02:38

करते हैं किसी भी टास्क को परफॉर्म करने

play02:40

के लिए उसको हम यूज करते हैं फिर

play02:42

प्रोटोकॉल्स होते हैं ठीक है कुछ रूल्स

play02:44

एंड रेगुलेशन होते हैं ठीक है और फिर एंड

play02:47

टूल्स मतलब कुछ ऐसे टूल्स होते हैं जिनको

play02:51

यूज करके हम अपनी सॉफ्टवेयर और एप्लीकेशंस

play02:54

को बिल्ड करते हैं इसका मतलब एपीआई सिंपल

play02:58

सा कांसेप्ट है कि इसके अंदर आपके पास कुछ

play03:01

फंक्शंस बने बनाए मौजूद होते हैं ठीक है

play03:03

कुछ कोड बना बनाया मौजूद होता है कुछ

play03:06

प्रोटोकॉल्स होते हैं और कुछ टूल्स होते

play03:08

हैं जिनको हम अपना सॉफ्टवेयर और एप्लीकेशन

play03:12

डेवलप करने में यूज करते हैं ठीक है इसका

play03:15

मतलब एक एपीआई बनी हुई है अब उस एपीआई को

play03:19

मैं किसी भी सॉफ्टवेयर और किसी भी

play03:20

एप्लीकेशन के अंदर यूज कर सकता हूं और

play03:23

देखो एक बात याद रखना एपीआई हो या वेब

play03:27

एपीआई ठीक है इट्स ऑल अबाउट रीयूज बल ठीक

play03:32

है इसका मतलब कि एपीआई आप बनाते ही इसीलिए

play03:36

हो वेब एपीआई आप बनाते ही इसीलिए हो कि

play03:39

आपको वो एपीआई या वो वेब एपीआई मल्टीपल

play03:44

टाइम्स रीयूज करना है आपकी डिफरेंट

play03:47

सॉफ्टवेयर एप्लीकेशंस के अंदर ठीक है मतलब

play03:50

आप एक सॉफ्टवेयर डेवलपर हो या एक वेब

play03:52

डेवलपर हो ठीक है आप बहुत सारी वेबसाइट्स

play03:54

बनाते हो लेकिन आपको पता है कि भाई एक चीज

play03:56

ऐसी है ठीक है एक कोड ऐसा है जो कि के मैं

play04:00

रीयूज करता हूं अपनी सारी एप्लीकेशंस के

play04:02

अंदर तो उसको आप क्या कर सकते हो एक एपीआई

play04:06

की शक्ल में बना के अपने पास रख सकते हो

play04:09

जिससे क्या होगा कि आप उस एपीआई को

play04:11

बार-बार रीयूज कर सकते हो ठीक है तभी

play04:14

मैंने इसको कहा था कि एपीआई हो या वेब

play04:16

एपीआई हो इट्स ऑल अबाउट रीयूज बल ठीक है

play04:19

अब देखो एपीआई जरूरी नहीं है कि आप वेब के

play04:23

अंदर ही बनाओ ठीक है मतलब वेब टेक्नोलॉजी

play04:25

को यूज करके भी बनाओ ठीक है आप किसी भी

play04:29

टेक्नोलॉजी को यूज करके मतलब बहुत सारी

play04:31

ऐसी टेक्नोलॉजीज है जो आपको एपीआई बनाने

play04:33

की कैपेबिलिटी प्रोवाइड करती है ठीक है

play04:36

जिस तरह एडनेट वेब एपीआई एडनेट हमें वेब

play04:40

एपीआई मतलब ऐसी एपीआई जो वेब बेस्ड होती

play04:42

है ठीक है उनको बनाने की फंक्शनैलिटी हमें

play04:45

वो प्रोवाइड करता है ठीक है और एपीआई सेम

play04:48

उसी तरह डेस्कटॉप के लिए भी हम बना सकते

play04:50

हैं वेब के लिए भी बना सकते हैं और बहुत

play04:52

सारी आपके पास टेक्नोलॉजीज है जिनको यूज

play04:55

करके हम अपनी एपीआई क्रिएट कर सकते हैं

play04:58

ठीक है यहां पे वेब एपीआई है इसका मतलब ये

play05:00

जो हम एपीआई बनाएंगे वो वेब बेस्ड होगी

play05:03

ठीक है अच्छा तो वेब एपीआई को समझने से

play05:06

पहले ये तो आपके पास कांसेप्ट था एपीआई का

play05:09

अब अगर मैं आपको कुछ एग्जांपल्स दिखाऊ ठीक

play05:11

है कुछ एपीआई की एग्जांपल दिखाऊ ठीक है तो

play05:14

यहां पे देखो पहली एग्जांपल वेदर स्पिट्स

play05:19

ठीक है भाई देखो आपको ये एक विंडो नजर आ

play05:21

रही होगी ठीक है ये बेसिकली एक एपीआई है

play05:25

ठीक है मतलब एक वेदर स्निप है मतलब ये जो

play05:27

स्निप है ये जो टुकड़ा है या क्या बताता

play05:30

है ये आपको आपके सिटी आपके कंट्री के

play05:33

अकॉर्डिंग आपको क्या बताता है वेदर की

play05:35

अपडेट देता है ठीक है आने वाले कितने

play05:38

दिनों में क्या वेदर होगा यह सारी चीजें

play05:41

एक एपीआई के अंदर गैदर की गई है ठीक है

play05:44

इसका मतलब कि इस एपीआई को ये जो आपको वेदर

play05:47

स्निप इट नजर आ रहा है यह बेसिकली एक

play05:48

एपीआई है और आपने अक्सर इसी एपीआई को आपने

play05:54

अपनी वेबसाइट में भी देखा होगा ब्राउजर

play05:56

में भी देखा होगा मोबाइल एप्लीकेशंस के

play05:58

अंदर भी देख दे होगा टेबलेट एप्लीकेशन के

play06:01

अंदर भी देखा होगा और बहुत सारे क्लाइंट्स

play06:04

के अंदर क्लाइंट डिवाइस के अंदर आपने इस

play06:07

एपीआई का यूज देखा होगा मतलब एपीआई एक ही

play06:11

है लेकिन मैं इसको मल्टीपल क्लाइंट्स

play06:13

मल्टीपल डिवाइस के अंदर एक्सेस कर सकता

play06:16

हूं ठीक है तो एक एग्जांपल यह हो गई आपके

play06:20

पास एपीआई की फिर दूसरी

play06:22

एग्जांपल लॉग इन यूजिंग एक्स वा जड भाई

play06:25

देखो आप कहीं से भी रजिस्टर होना चाह रहे

play06:29

हो आप वेबसाइट पर रजिस्टर होना चाह रहे हो

play06:32

आप प्ले स्टोर की किसी ऐप पे रजिस्टर होना

play06:35

चाह रहे हो आप कहीं से भी रजिस्टर होना

play06:37

चाह रहे हो ठीक है किसी भी वेबसाइट हो

play06:39

प्ले स्टोर की कोई एप्लीकेशन हो कहीं भी

play06:41

हो आपने ये वाली स्क्रीन लाजमी देखी होगी

play06:46

बहुत जगहों पे जिस तरह आप कहीं भी रजिस्टर

play06:48

करते हो तो नीचे फॉर्म के जो नीचे होता है

play06:51

मतलब एक तो होता है कि आप फॉर्म रजिस्टर

play06:53

करो उसी के नीचे ये ऑप्शन होता है मतलब ये

play06:56

एपीआई होती है कि भाई आपको

play06:59

करना है

play07:29

एक्सेस कर सकते हो ठीक है मतलब ये एक

play07:31

एपीआई है जिसको आप कहीं भी किसी भी

play07:34

वेबसाइट के अंदर जहां जहां आप रजिस्ट्रेशन

play07:36

का काम करवा रहे हो लॉग इन का काम करवा

play07:38

रहे हो वहां आप इस एपीआई को यूज कर सकते

play07:41

हो मतलब वही बात एपीआई इज ऑल अबाउट रियू

play07:44

जबल य आपने कंपोनेंट बना ली अब आप इसको

play07:47

वेबसाइट के अंदर अटैच करो अब आप इसको किसी

play07:50

डेस्कटॉप एप्लीकेशन के अंदर अटैच करो किसी

play07:52

मोबाइल एप्लीकेशन के अंदर अटैच करो यह

play07:55

आपके ऊपर डिपेंड करता है फिर सेम इसी

play07:58

तरह एक और एग्जांपल है पे विद

play08:29

और उसको हम डिफरेंट क्लाइंट्स के साथ यूज

play08:31

कर सकते हैं चाहे हम डेस्कटॉप एप्लीकेशन

play08:33

में यूज करें मोबाइल एप्लीकेशन में यूज

play08:35

करें जहां चाहे हम उनको इजली एक्सेस कर

play08:38

सकते हैं ठीक है सही है मतलब बार-बार

play08:41

रीयूज कर सकते हैं इसी पेमेंट मेथड को तो

play08:44

ये क्या है एप्लीकेशन प्रोग्रामिंग

play08:47

इंटरफेस है जो कि किसी स्पेसिफिक टास्क को

play08:50

हम परफॉर्म करने के लिए बना के रख लेते

play08:52

हैं और उसको अपनी डिफरेंट क्लाइंट के अंदर

play08:55

डिफरेंट एप्लीकेशंस के अंदर हम इसको यूज

play08:57

कर सकते हैं ठीक है तो एक इसका ये पॉइंट

play08:59

है ठीक है अब चलते हैं आगे तो देखो अब हम

play09:02

यहां पे बात कर रहे हैं वेब एपीआई की ठीक

play09:05

है वेब एपीआई मतलब ऐसी एपीआई जो वेब बेस्ड

play09:08

है मतलब वेब टेक्नोलॉजीज को यूज करके जो

play09:10

एपीआई बनाई जाती है उसको हम कहते हैं वेब

play09:12

एपीआई ठीक है तो अब वेब एपीआई बेसिकली है

play09:16

क्या वेब एपीआई आप समझ लो कोई सर्विस है

play09:19

ठीक है मतलब कोई सर्विस है जो कि हम अपनी

play09:23

डिफरेंट क्लाइंट्स के अंदर यूज करना चाह

play09:26

रहे हैं अपनी डिफरेंट एप्लीकेशंस के अंदर

play09:28

यूज करना चाह रहे हैं अब वो क्लाइंट

play09:30

कौन-कौन हो सकते हैं फॉर एग्जांपल मेरी एक

play09:32

वेब एपीआई है या एक सर्विस अब वो कोई भी

play09:34

सर्विस हो सकती है ठीक है किसी स्कूल के

play09:37

लिए कोई सर्विस हो सकती है ठीक है जो

play09:39

डेटाबेस से कनेक्टेड हो सकती है ठीक है या

play09:42

आपके पास कोई गवर्नमेंट की कोई सर्विस हो

play09:45

सकती है या वेब डेवलपर की कोई सर्विस हो

play09:47

सकती है ठीक है तो वेब एपीआई आप इसलिए

play09:50

बनाते हो कि जब आपको कोई ऐसी सर्विस बनानी

play09:53

हो जो मल्टीपल क्लाइंट्स के ऊपर आपके पास

play09:56

रन हो सके एक्सेस हो सके फॉर एग्जांपल

play09:59

आपने एक वेब एपीआई बनाई जिसका डाटा मोबाइल

play10:02

एप्लीकेशंस के अंदर भी एक्सेस हो पा रहा

play10:04

है अब देखो मोबाइल एप्लीकेशन के अंदर अगर

play10:07

हम एंड यूज करें आ यूज करें आईओएस यूज

play10:10

करें तो इसका मतलब के उसके लिए कोडिंग

play10:13

वगैरह सारी बिल्कुल सेपरेट होती है

play10:15

बिल्कुल डिफरेंट तरीके से होती है ठीक है

play10:18

लेकिन मैं उसी वेब एपीआई को उसी सर्विस को

play10:22

डेस्कटॉप एप्लीकेशन के अंदर भी यूज कर

play10:24

सकता हूं मैं उन्हीं एप्लीकेशंस को

play10:26

ब्राउजर में भी यूज कर सकता हूं वेब एपीआई

play10:28

को ब्राउज में भी यूज कर सकता हूं फिर मैं

play10:30

वेब एपीआई को आईओटी में भी यूज कर सकता

play10:33

हूं अब आईओटी क्या है भाई देखो आजकल के

play10:36

जमाने में आपके पास ऐसी डिवाइस आ रही है

play10:39

ऐसे होम अप्लायंस आ रहे हैं जिसके अंदर

play10:42

आपको एक यूजर इंटरफेस मिलता है जिस तरह

play10:46

आपके पास कुछ रेफ्रिजरेटर ऐसे आ गए कुछ

play10:49

एयर कंडीशन ऐसे आ गए हैं जिसके अंदर यूजर

play10:52

इंटरफेस होता है मतलब जो कि डाटा इंटरनेट

play10:56

से एक्सेस कर सकता है और इंटरनेट पर डाटा

play10:59

अपलोड कर सकता है ठीक है तो ऐसी

play11:11

डिवाइसेसपोर्ट

play11:18

एंड एक्सट्रा मतलब आपके पास एक बड़ी तादाद

play11:23

है क्लाइंट्स की जहां पर आप अपनी वेब

play11:25

एपीआई को रीयूज कर सकते हो ठीक है और और

play11:29

ये वेब एपीआई ये वेब एपीआई डेटाबेस से

play11:31

इंटरेक्ट करता है ठीक है इसका मतलब आपके

play11:34

पास ये जो वेब एपीआई है ये बहुत सारी

play11:37

रिसोर्सेस आपको प्रोवाइड करता है जो हम

play11:40

मोबाइल एप्लीकेशन में भी एक्सेस कर सकते

play11:42

हैं डेस्कटॉप में ब्राउजर में या आईओटी

play11:44

में ठीक है सपोज करो कि जो वेब एपीआई है

play11:47

ठीक है इसके अंदर हम इमेजेस वगैरह को

play11:49

एक्सेस कर सकते हैं कोई डाटा जो इसके अंदर

play11:52

मौजूद है जो मैं डिफरेंट एप्लीकेशंस के

play11:54

अंदर एक्सेस करवाना चाह रहा हूं वो हो

play11:56

सकता है या फिर इस वेब एपीआई के अंदर

play11:59

एंटिटीज हो सकती है ठीक है एंटिटीज मतलब

play12:02

स्टूडेंट एंटिटी हो गया एंप्लॉई हो गया

play12:04

कस्टमर हो गया एक्स वाई जड बहुत सारी

play12:06

एंटिटीज है ठीक है और इन एंटिटीज को बनाने

play12:09

के लिए जाहिरी बात है हमें डेटाबेस भी

play12:11

रिक्वायर्ड होता है ठीक है तो मतलब जो हम

play12:13

वेब एपीआई बनाएंगे जो हम वेब सर्विस

play12:16

बनाएंगे ठीक है वो वेब सर्विस जो हम

play12:19

मल्टीपल क्लाइंट्स को सेंड करना चाह रहे

play12:22

हैं या उन क्लाइंट्स का डाटा इस वेब एपीआई

play12:25

के थ्रू डेटाबेस में स्टोर करवाना चाह रहे

play12:27

हैं तब हम कांसेप्ट यूज करते हैं वेब

play12:30

एपीआई का ठीक है सही है देखो पहले क्या

play12:33

होता था वेब एपीआई से पहले क्या होता था

play12:35

कि अगर मुझे कोई डेटाबेस या कोई भी डेटा

play12:39

सोर्स बनानी है तो वो मुझे मोबाइल

play12:41

एप्लीकेशन के लिए अलग बनानी है ठीक है

play12:43

डेस्कटॉप के लिए अलग बनानी है ब्राउजर के

play12:45

लिए आईओटी के लिए अलग बनानी है ठीक है तो

play12:48

इसलिए क्या होता था इस केस में क्या होता

play12:50

था कि हमारा काम बढ़ जाता था क्योंकि देखो

play12:54

अभी क्या हो रहा है वेब एपीआई के केस में

play12:56

मोबाइल हो डेस्कटॉप हो वो सारा डाटा वेब

play12:58

एपीआई के थ्रू एक्सेस किया जा रहा है मतलब

play13:01

एक ही वेब एपीआई है और वो डेटाबेस के साथ

play13:04

इंटरेक्ट करके सबको डाटा प्रोवाइड कर रही

play13:07

है मोबाइल एप्लीकेशंस को भी डेस्कटॉप

play13:09

एप्लीकेशन को भी ब्राउजर को भी आईओटी को

play13:11

भी लेकिन पहले ऐसा नहीं था पहले अगर हमें

play13:15

कोई डेटा सोर्स बनानी है कोई एंटिटीज

play13:17

वगैरह बनानी है तो वो हम मोबाइल एप्लीकेशन

play13:19

के लिए बिल्कुल सेपरेटली बनाते थे

play13:21

डेस्कटॉप एप्लीकेशन के लिए सेपरेटली बनाते

play13:23

थे ठीक है मतलब काम बहुत ज्यादा लदी होता

play13:26

था लेकिन जब से वेब एपीआई आई ठीक है तो

play13:29

इसने जो आपके वेब डेवलपर्स है और जितने भी

play13:32

डेवलपर्स है ठीक है उनके लिए काम आसान कर

play13:35

दिया ठीक है मतलब देखो अक्सर स्टूडेंट ये

play13:38

डाउट में आ जाते हैं कि भाई ये जो मैंने

play13:39

वेब एपीआई बनाई है इसको मैं सिर्फ वेब

play13:42

टेक्नोलॉजी में ही यूज कर सकता हूं ऐसा

play13:44

कुछ भी नहीं है जो आपने वेब एपीआई बनाई है

play13:47

आप उसको मोबाइल एप्लीकेशन से भी एक्सेस कर

play13:49

सकते हो डेस्कटॉप एप्लीकेशन से भी एक्सेस

play13:51

कर सकते हो ब्राउजर जहां चाहो आप उस वे

play13:54

वेब एपीआई को एक्सेस कर सकते हो ठीक है तो

play13:57

ये इसका एक मेन पॉइंट है अच्छा फिर वेब

play14:00

एपीआई से जितना डाटा एक्सेस किया जाता है

play14:03

और जितना डाटा वेब एपीआई को सेंड किया

play14:05

जाता है यह किस फॉर्मेट में होता है फॉर

play14:08

एग्जांपल वेब एपीआई का डाटा अगर हम एक्सेस

play14:11

करना चाह रहे अपनी मोबाइल एप्लीकेशन में

play14:13

डेस्कटॉप एप्लीकेशन में ब्राउजर में या

play14:15

जहां भी तो कुछ फॉर्मेट होते हैं एक होता

play14:18

है एक्सल फॉर्मेट और एक होता है आपके पास

play14:21

जेसन फॉर्मेट ठीक है मतलब जो भी मोबाइल

play14:25

एप्लीकेशन अगर वेब एपीआई का डाटा एक्सेस

play14:27

करने की कोशिश करेगी तो या तो एक्सएमएल

play14:29

में होगा या जेसन में होगा और अगर मोबाइल

play14:32

एप्लीकेशन कुछ डाटा वेब एपीआई के अंदर

play14:35

इंसर्ट करवाना चाह रहे हैं अपलोड करवाना

play14:37

चाह रहे हैं तो वो जितना भी डाटा ट्रांसफर

play14:40

होगा आपकी वेब एपीआई के अंदर वो भी

play14:42

एक्सएमएल या जेसन फॉर्म में होगा ठीक है

play14:45

क्योंकि ये फॉर्मेट ऐसे हैं जो कि लाइट

play14:47

वेट होते हैं क्योंकि देखो यहां पर भी

play14:50

क्लाइंट सर्वर आर्किटेक्चर फॉलो हो रहा है

play14:52

क्योंकि मोबाइल एप्लीकेशन क्या है आपका

play14:54

क्लाइंट हो गया और वेब एपीआई क्या है वेब

play14:57

एपीआई समझ लो आपका एक तरह सर्वर हो गया

play14:59

ठीक है तो वो डटा एक्सेस जब करेंगे तो वो

play15:03

एक्सल फॉर्मेट में होंगे या जेसन फॉर्मेट

play15:06

में होंगे ठीक है अच्छा तो यह तो हमने देख

play15:08

लिया कि भाई जो डाटा एक्सचेंज होगा वो किस

play15:12

फॉर्मेट में होगा एक्सल में होगा या जेसन

play15:14

में होगा लेकिन यह जो डेटा एक्सचेंज होगा

play15:18

व होगा कैसे ठीक है सबसे बड़ा पॉइंट देखो

play15:22

वो होगा आपके पास एचटीटीपी प्रोटोकॉल के

play15:25

थ्रू ठीक है मतलब देखो जब भी क्लाइंट

play15:28

सर्वर आर्किटेक्चर की बात होती है तो वहां

play15:31

पर एचटीटीपी प्रोटोकॉल आ जाता है ठीक है

play15:34

सही है मतलब जो हमारे डाटा एक्सचेंजिंग को

play15:37

सिक्योर बनाता है ठीक है जिसकी फुल फॉर्म

play15:39

क्या है एटीटीपी की हाइपर टेक्स ट्रांसफर

play15:42

प्रोटोकॉल ठीक है तो ये जितनी भी

play15:44

एक्सचेंजिंग है ठीक है यह एचटीटीपी

play15:47

प्रोटोकॉल के थ्रू पॉसिबल होती है ठीक है

play15:50

मतलब यह तो मैं आपको बता रहा हूं कि जो भी

play15:52

डाटा चाहे मोबाइल एप्लीकेशन से वेब एपीआई

play15:55

में ट्रांसफर करना है चाहे डेस्कटॉप से

play15:57

वेब एपीआई प ट्रांसफर करना है चाहे

play15:59

ब्राउजर से वेब एपीआई प ट्रांसफर करना है

play16:01

तो वो डाटा एमएल या जेसन की फॉर्म में

play16:04

होगा लेकिन इस डाटा को एक्सेस कैसे किया

play16:07

जाएगा ठीक है एक कोई लेयर होगी ना बीच में

play16:10

कोई प्रोटोकॉल होगा वो कहलाता है आपके पास

play16:12

एचटीटीपी प्रोटोकॉल क्योंकि देखो हमें पता

play16:15

है एचटीटीपी प्रोटोकॉल के अंदर कुछ मेथड्स

play16:18

होते हैं कुछ वर्ब्स होते हैं फॉर

play16:20

एग्जांपल गेट होता है ठीक है पोस्ट होता

play16:23

है ठीक है मतलब कि अगर मुझे अपनी वेब

play16:27

एपीआई से डाटा एक्सेस करना है मोबाइल

play16:29

एप्लीकेशन में तो मैं एचटीटीपी प्रोटोकॉल

play16:32

को यूज करते हुए या तो गेट रिक्वेस्ट

play16:34

भेजूंगा या मैं पोस्ट रिक्वेस्ट भेजूंगा

play16:37

अपनी वेब एपीआई को और डाटा मैं रिट्रीव कर

play16:40

लूंगा अपनी मोबाइल एप्लीकेशन में ठीक है

play16:42

मतलब गेट हमें पता है हम क्यों यूज करते

play16:44

हैं कि वेब एपीआई से अगर डाटा हमें गेट

play16:47

करना है और वेब एपीआई इंटरेक्ट किसके साथ

play16:50

कर रहा है एक सिंगल डेटाबेस के साथ कर रहा

play16:52

है और वो डाटा ले रहा है और मोबाइल

play16:54

एप्लीकेशन को भी प्रोवाइड कर रहा है वही

play16:56

डाटा डेस्कटॉप एप्लीकेशन में भी जाहा रहा

play16:58

है भाई डाटा ब्राउजर और आईओटी डिवाइस के

play17:00

अंदर भी जा रहा है ठीक है तो हम क्या करते

play17:03

हैं अगर हमें डाटा रिट्रीव करना है तो हम

play17:06

गेट रिक्वेस्ट यूज करते हैं ठीक है वर्ब

play17:08

यूज करते हैं कौन सा गेट वाला ठीक है मतलब

play17:12

इनको मेथड्स भी कहा जाता है और इनको

play17:13

एचटीटीपी वर्ब्स भी कहा जाता है किसको गेट

play17:16

हो या पोस्ट हो तो गेट रिक्वेस्ट चाहिए तो

play17:19

मतलब डाटा मुझे एक्सेस करना है मोबाइल

play17:21

एप्लीकेशंस के अंदर और अगर मुझे मोबाइल

play17:24

एप्लीकेशंस के अंदर से डाटा कोई स्टोर

play17:26

करना है वेब एपीआई के अंदर या डेटाबेस के

play17:29

अंदर तो मैं यूज करता हूं पोस्ट ठीक है

play17:31

फिर इसी तरह कुछ और वर्ब्स है अगर मुझे

play17:34

अपडेट करना है ठीक है मतलब मोबाइल

play17:36

एप्लीकेशन है उसके अंदर वेब एपीआई के अंदर

play17:39

कुछ डाटा अपडेट करना है डेस्कटॉप

play17:41

एप्लीकेशन है उसको डाटा अपडेट करना है तो

play17:43

यूज करते हैं एक पुट का वर्ब ठीक है फिर

play17:46

सेम इसी तरह अगर हमारी वेब एपीआई के अंदर

play17:49

जितना भी डाटा है जितना भी डेटाबेस है

play17:50

उसके अंदर से डाटा डिलीट करना है तो हम

play17:53

यूज करते हैं डिलीट का मेथड डिलीट का वर्ब

play17:55

ठीक है तो ये सारी जो आपके पास वर्ब य

play17:58

पॉसिबल कैसे होती है एचटीटीपी प्रोटोकॉल

play18:01

को यूज करके ठीक है तो य पर दो बातें याद

play18:03

रखनी है कि जितना भी डाटा आप वेब एपीआई को

play18:06

सेंड करोगे या एक्सेस करोगे तो वो एमल या

play18:09

जेस के फॉर्मेट में होगा और जब भी आप डाटा

play18:12

एक्सेस करोगे तो आप बताओगे कि भाई आप गेट

play18:15

रिक्वेस्ट को यूज कर रहे हो गेट मेथड को

play18:17

यूज कर रहे हो गेट वर्ब को यूज कर रहे हो

play18:19

या फिर पोस्ट को यूज कर रहे हो या पुट को

play18:21

यूज कर रहे हो या डिलीट को यूज कर रहे हो

play18:23

ठीक है सही है और एक बात याद रखना कि जब

play18:28

भी आप आप डाटा अपनी वेब एपीआई के थ्रू

play18:29

एक्सेस करते हो या वेब एपीआई में डाटा

play18:31

सेंड करते हो तो वो सारा काम आपके यू

play18:34

आरआईए थ्रू होता है यू

play18:38

आरआईआईटी फायर ठीक है मतलब आपको कोई यू

play18:42

आरआईए हो गेट रिक्वेस्ट के साथ तो वो पहले

play18:45

आपकी

play18:47

यूआरआरडीए

play18:53

मोबाइल एप्लीकेशन में या चाहे आप डेस्कटॉप

play18:56

एप्लीकेशन में करवा सकते हो जहां चाहे आप

play18:59

करवा सकते हो ठीक है तो यह इसका एक मेन

play19:01

पॉइंट है ठीक है तो देखो यह जो आपके पास

play19:04

ये जो चारों कांसेप्ट है ठीक है मतलब

play19:06

जिनको मैं वर्ब्स कह रहा हूं जिनको मैं

play19:08

मेथड्स कह रहा हूं इसको हम कहते हैं

play19:10

वर्ब्स ठीक है क्या कहते हैं एसटीटीपी

play19:12

वर्ब्स जो कि इनका एक कॉमन नाम होता है इस

play19:15

एडनेट वेब एपीआई के अंदर ठीक है तो यह

play19:19

कहलाती है आपके पास वर्ब्स अच्छा

play19:22

फिर फिर देखो वेब एपीआई के साथ हमारे पास

play19:25

एक कांसेप्ट बहुत ज्यादा यूज होता है

play19:27

जिसको हम कहते हैं रे

play19:28

ठीक है मतलब देखो रेस्ट को समझे बगैर आप

play19:32

कभी भी एडनेट के अंदर वेब एपीआई नहीं बना

play19:36

सकते हैं ठीक है अब यह रेस्ट क्या है अब

play19:39

देखो यह रेस्ट आपके पास एक आर्किटेक्चरल

play19:42

स्टाइल है या आप इसको आर्किटेक्चरल पैटर्न

play19:45

भी कह सकते हो इसका मतलब रेस्ट एक

play19:49

आर्किटेक्चरल पैटर्न है जो यह बताता है कि

play19:51

किस तरह से आप अपनी वेब एपीआई को

play19:54

इंप्लीमेंट करोगे बनाओगे ठीक है मतलब

play19:58

रेस्ट के अंदर कुछ रूल्स है ठीक है कुछ

play20:00

आपके पास पैटर्न है कुछ स्टाइल है जिसको

play20:03

फॉलो करके आप वेब एपीआई को इंप्लीमेंट

play20:06

करते हो वेब एपीआई बनाते हो ठीक है तभी

play20:10

वेब एपीआई को हम रेस्टफुल वेब सर्विसेस भी

play20:13

कहते हैं ठीक है वेब एपीआई को आप वेब

play20:15

सर्विस भी कह सकते हो ठीक है जो आप

play20:17

डिफरेंट क्लाइंट्स के अंदर यूज करना चाह

play20:19

रहे हो और अगर आपकी वेब एपीआई रेस्ट के

play20:22

सारे कंस्ट्रेंट्स को रेस्ट के सारे रूल्स

play20:26

के ऊपर इंप्लीमेंट होती है तो आप आप उसे

play20:28

रेस्टफुल वेब सर्विसेस भी कहते हो ठीक है

play20:32

तो ये एक मेन पॉइंट है कि वेब एपीआई को

play20:34

अगर आपने इंप्लीमेंट करना है तो रेस्ट

play20:36

क्या होता है इसके आर्किटेक्चरल स्टाइल

play20:39

क्या है इसका आपके पास कंस्ट्रेंट्स क्या

play20:42

है ठीक है ये आपको समझना लाजमी है तभी आप

play20:45

वेब एपीआई को इंप्लीमेंट कर पाओगे ठीक है

play20:49

बेटा तो देखो इस डायग्राम को अगर आप समझ

play20:52

लेते हो ठीक है अच्छे से समझ लेते हो इसको

play20:54

आप बार-बार रिवाइंड करके सुनो ठीक है अगर

play20:57

आप इसको अच्छे से समझ लेते हो तो आपका वेब

play21:00

एपीआई का कांसेप्ट अच्छे से क्लियर हो

play21:02

जाएगा ठीक है बाकी इसको इंप्लीमेंट किस

play21:05

तरह से करते हैं प्रैक्टिकल किस तरह से

play21:06

करते हैं वो हम आगे जाके देखेंगे ठीक है

play21:08

अच्छा देखो ये जो ये तो मैंने आपको वेब

play21:11

एपीआई का सारा सिनेरियो समझा दिया ठीक है

play21:13

अब मैं इसकी कुछ एग्जांपल्स आपको बताता

play21:15

हूं जो कि वेब एपीआई की एग्जांपल्स हो

play21:18

सकती है ठीक है यहां पे देखो ठीक है तो

play21:20

देखो मैं एक वेब एपीआई की बहुत ही आसान

play21:23

एग्जांपल से आपको समझाता हूं ठीक है और ये

play21:26

एक ऐसी एग्जांपल है जो आप आप बिल्कुल आजकल

play21:29

के जमाने के अंदर देख रहे हो ठीक है वो

play21:31

एग्जांपल क्या है देखो हमारे पास एक वेब

play21:34

एपीआई है रिलेटेड टू कोरोना वायरस ठीक है

play21:37

कोरोना वायरस आपको पता है ठीक है न्यूज के

play21:39

अंदर वेबसाइट के अंदर आप देख रहे हो कि

play21:42

वहां पर आपको यह बताया जाता है कि कोरोना

play21:46

के ओवरऑल केसेस कितने ठीक है मतलब कोरोना

play21:49

के आपके पास डेथ्स कितनी हो चुकी है

play21:52

कोरोना वायरस की वजह से फिर रिकवर कितने

play21:55

हो चुके हैं ठीक है और फिर न्यू न्य केसेस

play21:58

कितने हैं ये सारी इंफॉर्मेशन

play22:00

आप इस पॉइंट ऑफ टाइम में अपनी वेबसाइट्स

play22:03

के अंदर भी देख रहे हो अपने मोबाइल फोनस

play22:06

के अंदर भी देख रहे हो ब्राउजर्स के अंदर

play22:08

भी देख रहे हो और बहुत सारे क्लाइंट्स के

play22:10

अंदर आप कोरोना वायरस की ये इंफॉर्मेशन आप

play22:13

देख रहे हो तो ये कोरोना वायरस की जो आपके

play22:16

पास इंफॉर्मेशन है ये आपको मिल कैसे रही

play22:20

है देखो आपके पास एक वेब एपीआई बनाई गई

play22:23

होगी ठीक है और उस वेब एपीआई के अंदर

play22:26

जितने भी ओवरऑल केसेस है ठीक है उनको

play22:28

स्टोर किया जा रहा है मतलब वेब एपीआई का

play22:30

कोई डेटाबेस भी होगा जहां पे डेली बेसिस

play22:33

पे कितने केसेस हो रहे हैं वो इसके अंदर

play22:36

स्टोर किए जा रहे हैं कितनी डेथ्स हो रही

play22:37

है उनकी इंफॉर्मेशन स्टोर की जा रही है

play22:39

रिकवर कितने हो चुके हैं उनकी इंफॉर्मेशन

play22:41

और न्यू केसेस आपके पास कितने हो चुके हैं

play22:45

वो यहां पे इंप्लीमेंट किए जा रहे हैं ठीक

play22:47

है चाहे पाकिस्तान हो इंडिया हो हर जगह

play22:49

क्योंकि कोरोना वायरस इस वक्त हर जगह फैला

play22:51

हुआ है ठीक है तो आपके पास हर जगह यह

play22:54

कांसेप्ट यूज़ हो रहा है ठीक है इसका मतलब

play22:57

वेब एपीआई बना दी गई है ठीक है तो अब इस

play23:00

वेब एपीआई को कहां-कहां एक्सेस किया जा

play23:02

रहा है इनको मोबाइल एप्लीकेशंस के अंदर भी

play23:04

एक्सेस किया जा रहा है ठीक है इनको आपके

play23:07

पास डेस्कटॉप एप्लीकेशंस के अंदर भी

play23:09

एक्सेस किया जा रहा है ठीक है और सेम

play23:11

इन्हीं को इसी वेब एपीआई को ब्राउजर्स के

play23:14

अंदर भी यूज किया जा रहा है ठीक है मतलब

play23:16

देखो एक ही वेब एपीआई है और उसको डिफरेंट

play23:19

क्लाइंट्स के अंदर यूज किया जा रहा है ठीक

play23:22

है तो ये इसका सबसे बड़ा बेनिफिट है अब

play23:25

देखो ये जो जितने भी क्लाइंट्स है मोबाइल

play23:27

एप्लीकेशन हो गए डेस्कटॉप एप्लीकेशन हो गए

play23:29

ब्राउजर्स हो गए ये सिर्फ इस वेब एपीआई से

play23:32

डाटा एक्सेस नहीं कर रहे है बल्कि इस वेब

play23:35

एपीआई के अंदर कोई डाटा स्टोर भी करवा रहे

play23:38

हैं ठीक है जिस तरह सपोज करो कि भाई आपके

play23:41

पास कोई डेस्कटॉप एप्लीकेशन है ठीक है

play23:43

किसी हॉस्पिटल के पास है ठीक है तो वो

play23:46

हॉस्पिटल इस वेब एपीआई के अंदर मतलब अगर

play23:49

उस हॉस्पिटल के अंदर कुछ डेथ्स हो जाती है

play23:51

तो वो इस वेब एपीआई के अंदर डाटा अपलोड कर

play23:54

देते हैं कि भाई इतना इतनी डेथ्स हो चुकी

play23:56

है फिर अगर उनके पास पास कोई न्यू केसेस

play23:58

आते हैं तो वो भी डाटा इसके अंदर स्टोर कर

play24:01

सकते हैं कितने रिकवर हुए हैं वो भी डाटा

play24:03

स्टोर कर सकते हैं मतलब देखो सिर्फ वेब

play24:06

एपीआई से डाटा एक्सेस करने की बात नहीं है

play24:08

ठीक है आप वेब एपीआई के अंदर डटा स्टोर भी

play24:12

कर सकते हो डिफरेंट क्लाइंट्स के अंदर तो

play24:14

ये फायदा है किसका वेब एपीआई का तो देखो

play24:17

ये एग्जांपल इतनी आसान एग्जांपल है जिस

play24:20

जिससे आपको वेब एपीआई का कंसेप्ट बहुत

play24:22

आसानी से समझ आ जाएगा ठीक है फिर एक और

play24:25

एग्जांपल से इसको समझाता हूं

play24:28

[संगीत]

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
Web APIsDevelopmentRESTfulProgrammingData AccessJSONXMLHTTP ProtocolSoftware ArchitectureTech Education
¿Necesitas un resumen en inglés?