Transcript
RESTful API@Keisuke69
{"Name" : "","Twitter" : "@Keisuke69","Profile" : {Company" : Amazon Web Services Japan",Role : Solutions Architect,Others : [,Ruby,
,]
}}
REST
REST
Representational State Transfer
Roy FieldingWeb1
RESTAPIRESTful API
REST
URI
HTTP
Amazon
URI URI URI11
URI
Uniform Resource Identifier
https://api.example.com/resouces/1234
URI
Photo credit: The U.S. National Archives via Visual Hunt / No known copyright restrictions
11
Photo credit: skpy via Visual Hunt / CC BY-SA
Photo credit: skpy via Visual Hunt / CC BY-SA
Photo credit: skpy via Visual Hunt / CC BY-SA
HTTP
URI
HTTP GET/POST/PUT/DELETEPATCHHTTP CRUDGET READPOST CREATEPUT URI
URIUPDATECREATE
DELETE DELETEPATCH UPDATE
Photo credit: Yu. Samoilov via VisualHunt.com / CC BY
POSTPUTPATCH
POSTPUT POST PUT
URI
POST URI URI
PUTPATCH PUTPATCH
HTTP
HTTP HTTP
400
500
Photo credit: sanbeiji via VisualHunt / CC BY-SA
HTTPHTTP
200 OK GET
201 CREATED POST
204 NO CONTENT
DELETE
400 BAD REQUEST JSON
401 UNAUTHORIZED URL
403 FORBIDDEN
404 NOT FOUND GET
409 CONFRICT
500 INTERNAL SERVER ERROR
Thanks
top related