Click here to Skip to main content
13,863,229 members
Rate this:
 
Please Sign up or sign in to vote.
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 17:57pm
Comments

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
   
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190214.1 | Last Updated 11 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100