REST Design Cards

Playing cards for paper-prototyping a RESTful application, as explained in a blog post.

Methods

GET
GET
GET
GET
GET
GET
GET
GET
GET
GET
PUT
PUT
PUT
PUT
PUT
PUT
PUT
PUT
PUT
PUT
POST
POST
POST
POST
POST
POST
DELETE
DELETE
DELETE
DELETE
HEAD
HEAD
HEAD
HEAD
OPTIONS
OPTIONS
OPTIONS
OPTIONS
PATCH
PATCH

Informational Responses

100Continue
100Continue
100Continue
100Continue
100Continue
100Continue
101Switching Protocols
101Switching Protocols
102Processing
102Processing

Status Responses

200OK
200OK
200OK
200OK
200OK
200OK
200OK
200OK
200OK
200OK
201Created
201Created
201Created
201Created
201Created
201Created
202Accepted
202Accepted
202Accepted
202Accepted
203Non-Authoritative
203Non-Authoritative
204No Content
204No Content
204No Content
204No Content
204No Content
204No Content
205Reset Content
206Partial Content
207Multi Status

Redirection Responses

301Moved Permanently
301Moved Permanently
301Moved Permanently
301Moved Permanently
302Found
302Found
302Found
302Found
302Found
302Found
303See Other
303See Other
303See Other
303See Other
303See Other
303See Other
304Not Modified
304Not Modified
304Not Modified
304Not Modified
305Use Proxy
305Use Proxy
306Switch Proxy
306Switch Proxy
307Temporary Redirect
307Temporary Redirect
307Temporary Redirect
307Temporary Redirect
307Temporary Redirect
307Temporary Redirect

Client Error Responses

400Bad Request
401Unauthorized
401Unauthorized
401Unauthorized
401Unauthorized
402Payment Required
402Payment Required
403Forbidden
403Forbidden
403Forbidden
404Not Found
404Not Found
405Method Not Allowed
405Method Not Allowed
405Method Not Allowed
405Method Not Allowed
406Not Acceptable
406Not Acceptable
407Proxy Authentication
408Request Timeout
409Conflict
409Conflict
409Conflict
409Conflict
410Gone
410Gone
411Length Required
412Precondition Failed
412Precondition Failed
413Entity Too Large
414URI Too Long
415Unsupported Media
415Unsupported Media
416Range Unsatisfiable
417Expectation Failed
417Expectation Failed
417Expectation Failed
417Expectation Failed
417Expectation Failed
418I'm a teapot

Server Error Responses

500Internal Server Error
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505Unsupported Version
506Variant Negotiates
509Bandwidth Exceeded
510Not Extended

Headers

Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/plain
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:text/html
Accept:application/json
Accept:application/json
Accept:application/json
Accept:application/json
Accept:application/json
Accept:application/json
Accept:text/xml
Accept:text/xml
Accept:text/xml
Accept:text/xml
Accept:text/xml
Accept:text/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/xml
Accept:application/atom+xml
Accept:application/atom+xml
Accept:application/atom+xml
Accept:application/atom+xml
Accept:application/rss+xml
Accept:application/rss+xml
Accept: text/plain
Accept-Charset: utf-8
Accept-Encoding:
Accept-Language: en-US
Accept-Ranges: bytes
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Cache-Control: no-cache
Connection: close
Cookie: $Version=1; Skin=new;
Content-Length: 348
Content-Type: application/x-www-form-urlencoded
Date: Tue, 15 Nov 1994 08:12:31 GMT
Expect: 100-continue
From: user@email.com
Host: en.wikipedia.org
If-Match: "737060cd8c284d8af7ad3082f209582d"
If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
If-None-Match: "737060cd8c284d8af7ad3082f209582d"
If-Range: "737060cd8c284d8af7ad3082f209582d"
If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
Max-Forwards: 10
Pragma: no-cache
Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Range: bytes=500-999
Referer: http://en.wikipedia.org/wiki/Main_Page
TE: trailers, deflate;q=0.5
Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11
User-Agent: Mozilla/5.0 (Linux; X11)
Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)
Warning: 199 Miscellaneous warning
Accept-Ranges: bytes
Age: 12
Allow: GET, HEAD
Cache-Control: no-cache
Content-Encoding: gzip
Content-Language: da
Content-Length: 348
Content-Location: /index.htm
Content-Disposition: attachment; filename=fname.ext
Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==
Content-Range: bytes 21010-47021/47022
Content-Type: text/html; charset=utf-8
Date: Tue, 15 Nov 1994 08:12:31 GMT
ETag: "737060cd8c284d8af7ad3082f209582d"
ETag: "983872ea45c34b87af03303f919998cf"
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
Location: http://www.w3.org/pub/WWW/People.html
Pragma: no-cache
Proxy-Authenticate: Basic
Retry-After: 120
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
Trailer: Max-Forwards
Transfer-Encoding: chunked
Vary: *
Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)
Warning: 199 Miscellaneous warning
WWW-Authenticate: Basic

Address

Source code released under a Creative Commons License