Created
February 23, 2015 14:18
-
-
Save joelcox/88e2241ac991cf8121e3 to your computer and use it in GitHub Desktop.
Resource options request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET http://localhost:5000/orders/4 | |
{ | |
"status": "shipped" | |
} | |
OPTIONS http://localhost:5000/orders/4 | |
{ | |
"PUT": { | |
"description": "Modify the status of a shipped order", | |
"parameters": { | |
"status": { | |
"type": ["confirmed", "returned"], | |
"description": "Shipping status", | |
"required": true | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment