Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i would know what is the difference between web api and web api

What I have tried:

i would know what is the difference between web api and web api
Posted
Updated 11-Feb-19 16:57pm
Comments

1 solution

Web Services typically are based on SOAP, traditionally using XML, and have a WSDL (Web Service Description Language) which you can navigate to learn about the endpoints along with the input/output parameters. Web Services are also a defined standard.

Web APIs are newer constructs using REST and generally use JSON by default. They typically do not offer a WSDL like guide to their usage. Web API is not a standard per se; it is simply communicating with an API using the HTTP protocol.
 
Share this answer
 
Comments
Member 14145830 11-Feb-19 22:58pm    
thank you sir for your response
but wecan create (RESTful) web service so what is the differance between
(RESTful) web service and rest web api
MadMyche 12-Feb-19 8:36am    
The difference would be what the expected defaults are. A RESTful Web Service should still be doing XML by default and provide a WSDL; otherwise it would not be meeting the standards
Member 14145830 12-Feb-19 14:09pm    
ok thank you sir for your help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900