8/16/2023 0 Comments Difference between soap vs restAll web services are API but not all APIs are web service. Are API And Web Services Similar?Īn obvious question which popped-up in your mind is, So Web Service and API are same, right? My answer is, IT’S NOT. Similarly, websites like, Zomato also uses Google Gmail API for user registration/sign up irrespective of the platform the websites are written in, viz. This kind of communication which involves HTTP or Network is known as a Web Service. Google in turn reads the keyword and hits the desired HTTP request to call the Sign-in API viz the Gmail API. So, when you click on Google button, in the above example, along with your credentials, a keyword denoting which service Myntra is willing to access is sent to Google. If we think of Google functionalities which can be integrated in our application, we have Google Maps, Google Search, Gmail and many more. Few of you must be thinking how can I integrate google in my website? The link for more details. APIs are few lines of code which takes the request from the requester and gives back the response in form of data. So, the one who is responsible to process the request-response communication is known as API – Application Programming Interface. In short, there is some sort of data exchange between two domains, Myntra and Google. Now what is this API in front of Google? When you click on Google to sign-up, Myntra takes your credentials and forwards them to Google and Google sends the user data like user Name, Image, Email Id as a response which is utilized by Myntra to create the account. Isn’t that great!! But the question here is, does Myntra has access to Google’s database? OBVIOUSLY NOT!! Myntra has simply integrated Google API within their website. When you select Google and you are only asked for your google credentials and your Myntra account is created in fraction of seconds. When you visit the site, you come across three ways of signing up, either you can use your Facebook or Google credentials or can simply fill up a registration form for the same. I am sure everyone of us has sign-up in an online shopping website at least once. JavaScript ES6 Interview Questions Answers BookĪSP.NET Web API Questions and Answers Book NET Framework Questions and Answers BookĪSP.NET and AJAX Questions and Answers BookĮntity Framework 6.x Questions and Answers BookĮntity Framework Core Questions and Answers BookĪzure Administrator Questions and Answers BookĪzure Developer Questions and Answers Book NET Design Patterns Questions and Answers Book NET Microservices Certification TrainingĪSP.NET MVC with WebAPI Certification TrainingĪWS Solutions Architect Certification TrainingĪzure Fundamentals Certification TrainingĪrtificial Intelligence Certification Courseĭata Science with Python Certification Courseĭocker and Kubernetes Certification Trainingįrontend Foundations Certification Training
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |