basic introduction about api web service

10
API - WEB SERVICE ~ BASIC

Upload: hiraq-citra-m

Post on 13-Jul-2015

42 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Basic Introduction About API Web Service

API - WEB SERVICE

~ BASIC

Page 2: Basic Introduction About API Web Service

EXAMPLE

SOUNDCLOUDYOUTUBE

Page 3: Basic Introduction About API Web Service

Entitas

provider consumer / client

DATA

Page 4: Basic Introduction About API Web Service

Transactions

REQUEST + RESPONSE = DATA

Page 5: Basic Introduction About API Web Service

Web Services - Types

● wsdl● soap● rest

Page 6: Basic Introduction About API Web Service

REST

REST has been applied to describe desired web architecture, to identify existing problems, to compare alternative solutions, and to ensure that protocol extensions would not violate the core constraints that make the Web successful. Fielding used REST to design HTTP 1.1 and Uniform Resource Identifiers (URI).

http://en.wikipedia.org/wiki/Representational_state_transfer

REST => DATA DELIVERED VIA HTTP

Page 7: Basic Introduction About API Web Service

HTTP● OPTIONS● PUT● DELETE● PATCH● GET● POST● TRACE● CONNECT● HEAD

Page 8: Basic Introduction About API Web Service

HTTP - GET (example)

Page 9: Basic Introduction About API Web Service

HTTP - POST (example)

Page 10: Basic Introduction About API Web Service

END

You have to learn the rules of the game. And then you have to play better than anyone else.