Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
HTTP
Search
Paul Chavard
April 24, 2014
Programming
3
180
HTTP
A short introduction to HTTP
Paul Chavard
April 24, 2014
Tweet
Share
More Decks by Paul Chavard
See All by Paul Chavard
Le Tour du monde en quatre-vingts jours
tchak
1
32
Functional Ember
tchak
0
270
Ember Data REBOOT
tchak
0
120
Ember Data: (Advanced) Patterns
tchak
2
210
EmberJS Introduction
tchak
1
190
From SproutCore to Ember
tchak
2
240
Ember Data
tchak
11
810
Ember.js
tchak
11
1.6k
Other Decks in Programming
See All in Programming
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
見た目から始める生産性向上
ikumatadokoro
10
1.4k
Sheets API使ってみた
toshi0383
2
170
Anthropic Cookbook のおすすめレシピ
schroneko
7
1.3k
Elm 0.19.0 Changes
bkuhlmann
0
510
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
Webアプリをできるだけコードを手書きしないで作ってみる
tomokusaba
2
180
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
180
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1.1k
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
470
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
176
21k
Visualization
eitanlees
137
14k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Typedesign – Prime Four
hannesfritz
36
2.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Six Lessons from altMBA
skipperchong
22
3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
The Invisible Side of Design
smashingmag
294
49k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Transcript
HTTP
Hypertext Transfer Protocol
Protocol
GET /about HTTP/1.1 <HTML>…
Stateless
Request
GET /about HTTP/1.1 HOST:www.lewagon.org
Method GET POST PUT PATCH DELETE OPTIONS
CRUD Create POST /books Read GET /books/1 Update PUT /books/1
Delete DELETE /books/1
Headers Host: www.lewagon.org User-Agent: Firefox 26 (…) Accept-Language: en-us,en;q=0.5
Body POST / PUT ! first_name=Paul&last_name=Chavard
Response
HTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 <html>…
Status 1** Informational 2** Successful 3** Redirection 4** Client Error
5** Server Error
None
None
None
None
None
None
None
None
Body <html> <head> <title>About</title> </head> <body>About Me</body> </html>
Headers Content-Type: text/html; charset=UTF-8 Content-Length: 79324
Cookies
Request : Cookie Response : Set-Cookie
Tools • Curl • Chrome/Firefox DevTools • Rested (OSX)
Links http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol