A Web service is a web application component that uses a standardized format like XML to interact with other web applications over the internet. Check our post What is a Web Service? for a detailed explanation of web services.
Whereas a website is a collection of webpages put together which are accessed by a web browser.
Web Service | Website |
---|---|
A web service doesn’t have a user interface. | A website has a user interface or GUI. |
Web services are meant for other applications to be interacted with over the internet. | Websites are meant for use by humans. |
Web services are platform independent as they use open protocols | Websites are cross-platform as they require tweaking to operate on different browsers, operating systems, etc. |
Web services are accessed by HTTP methods – GET, POST, PUT, DELETE, etc. | Websites are accessed by using their GUI components – buttons, text boxes, forms, etc. |
E.g. Google maps API is a web service that can be used by websites to display Maps by passing coordinates to it. | E.g. ArtOfTesting.com is a website that has a collection of related web pages containing tutorials. |
This is a Great post.
Website : It is a combination of user interfaces and services or only user interface. User doesn’t require any coding to consume websites. Mostly website use for static and dynamic content. It uses by end-user who is not a coder.
Web services: It is a service and consumes by any application ( like web, native, windows etc). A consumer needs to do coding to use these services. Mostly web service mostly use by the coder for their application.
Thank you for the feedback and the crisp gist.
Hi Kudleep
First of all thank you for the very informative material on single page. Really appreciate it.
I’ve noticed that if you click on Assert V/s verify link at the left side of menu then web service v/s website link gets open. Kindly check at your end.
Thanks, the link is corrected now.