Update lessons/httpmethods.html
fixed a typo
This commit is contained in:
		| @ -125,7 +125,7 @@ | |||||||
| 						<div class="tab-pane fade" id="post"> | 						<div class="tab-pane fade" id="post"> | ||||||
| 							<p>The POST verb is most-often utilized for creation of new resources.  In particular, it's used to create subordinate resources.  That is, subordinate to some other (e.g. parent) resource.  In other words, when creating a new resource, POST to the parent and the service takes care of associating the new resource with the parent, assigning an ID (new resource URI), etc.</p> | 							<p>The POST verb is most-often utilized for creation of new resources.  In particular, it's used to create subordinate resources.  That is, subordinate to some other (e.g. parent) resource.  In other words, when creating a new resource, POST to the parent and the service takes care of associating the new resource with the parent, assigning an ID (new resource URI), etc.</p> | ||||||
| 							<p>On successful creation, return HTTP status 201, returning a Location header with a link to the newly-created resource with the 201 HTTP status.</p> | 							<p>On successful creation, return HTTP status 201, returning a Location header with a link to the newly-created resource with the 201 HTTP status.</p> | ||||||
| 							<p>POST is neither safe or idempotent.  It is therefore recommended for non-idempotent resource requests.  Making two identical POST requests will most-likely result in two resources containing the same information.</p> | 							<p>POST is neither safe nor idempotent.  It is therefore recommended for non-idempotent resource requests.  Making two identical POST requests will most-likely result in two resources containing the same information.</p> | ||||||
| 							<p><strong>Examples:</strong></p> | 							<p><strong>Examples:</strong></p> | ||||||
| 							<ul> | 							<ul> | ||||||
| 								<li><em>POST http://www.example.com/customers</em></li> | 								<li><em>POST http://www.example.com/customers</em></li> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user