An application programming interface (API) is a set of defined functions and methods that specifies how some software components should interact with each other.
A web service will expose an API.Not all APIs are web servicesAPI is more of an abstract concept it is a programmatic interface for your application it can be implemented in variety of methods and technologies.
Web service is a specific implementation of such concept that using SOAP and HTTP technologies.As an example the library/module/classes that allow you to open a file and read its contents is an API: you don't know how it works but you can use it into your software to achieve a possible complicate goal.
Example:
Facebook API: “like program”, “add friend program”, “login program” , “chat program”, “poke program”“http://www.facebook.com/api/poke?from_poker=123&to_poker=234” you would have just made user “123” poke user “234”API's that are accessed over the web are called “Web Services” and use the HTTP protocol.
Understand How WebService Works
http://www.youtube.com/watch?v=iB3NNW1zl44
A web service will expose an API.Not all APIs are web servicesAPI is more of an abstract concept it is a programmatic interface for your application it can be implemented in variety of methods and technologies.
Web service is a specific implementation of such concept that using SOAP and HTTP technologies.As an example the library/module/classes that allow you to open a file and read its contents is an API: you don't know how it works but you can use it into your software to achieve a possible complicate goal.
Example:
Facebook API: “like program”, “add friend program”, “login program” , “chat program”, “poke program”“http://www.facebook.com/api/poke?from_poker=123&to_poker=234” you would have just made user “123” poke user “234”API's that are accessed over the web are called “Web Services” and use the HTTP protocol.
Understand How WebService Works
http://www.youtube.com/watch?v=iB3NNW1zl44
No comments:
Post a Comment