Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Basic REST Concepts
Search
Roberto Guerra
August 09, 2013
Technology
76
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Basic REST Concepts
Roberto Guerra
August 09, 2013
More Decks by Roberto Guerra
See All by Roberto Guerra
SQL With Groovy
uris77
2
73
Web Services Overview
uris77
0
53
Grails Overview
uris77
1
68
Other Decks in Technology
See All in Technology
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
Local CI × GitHub Actions
gogutan
2
190
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
170
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
継続的なAIコスト最適化
bgpat
1
340
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Crafting Experiences
bethany
1
380
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Amusing Abliteration
ianozsvald
1
350
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Ethics towards AI in product and experience design
skipperchong
2
430
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Claude Code のすすめ
schroneko
67
230k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Transcript
REST
ToC Resources Actions/Verbs Security
Go Watch ! Hypermedia APIs by Jon Moore http:// vimeo.com/20781278
! Building Restful APIs, and how learning the word hypermedia will make you look smarter - Sebastien Lambla http://vimeo.com/37936696
Resources ! Anything that is important enough to be referenced
as a thing in itself.
Resources - Examples ! A movie ! A bank account
! A purchase order ! A time entry
Resources ! Must have a unique address. ! HTTP URIs
(Uniform Resource Identifier)
URI ! In a RESTful web service a URI is
a hyperlink to a resource.
URI ! The only means to exchange representations of resources.
! /user?id=29123 ! /employee/007/vacations
URI ! Used to link resources together {name: “Jon Doe”,
rel: [ {self: ‘http://a.domain.com/user/4123’}, {address: ‘http://a.domain.com/address9823’} ]}
Representations ! What is sent back between clients and servers
Representations ! Different clients can consume different representations of the
same resource. ! Resource must be available through the same URL.
URL ! Defines the network location of a specific resource
URL ! http://a.domain.com/user?id=12345
URL ! Format Representation determined by Content- Type application/json application/text
application/xml
URL : Content-Type ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec14.html#sec14.17
HTTP Actions/Verbs ! GET ! PUT ! DELETE ! POST
! PATCH
GET ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec9.html#sec9.3 ! For Retrieving resources ! Can
not have side effects ! Can act as both read & query operations
POST ! Creates a new resource ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec9.html#sec9.5
POST : Status ! 201 - Created ! 200 (OK)
! 204 (No Content) ! 202 (Accepted - processing not completed)
PUT ! Update or Create ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec9.html#sec9.6
PUT : Status ! 201 - Created ! 200 -
OK ! 204 (No Content)
DELETE ! Delete resource ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec9.html#sec9.7
DELETE : Status ! 200 (OK - Response Includes entity)
! 202 (Accepted - Will process later) ! 204 (No Content - No entity)
PATCH ! Partial Updates
HTTP Status Codes ! 1xx informational messages ! 2xx success
messages ! 3xx redirects client to another URL ! 4xx client-side error ! 5xx server-side error ! http://www.w3.org/Protocols/rfc2616/rfc2616- sec10.html
Security ! Basic Auth (username/password) ! OAuth (auth provider, user
consent) ! API Keys