Merge pull request #12 from yevhenpavliuk/patch-1

Replace UPDATE with PUT in the quick tips
This commit is contained in:
Todd Fredrich
2014-11-17 16:53:48 -07:00

View File

@ -93,7 +93,7 @@
<dt>201 CREATED</dt> <dt>201 CREATED</dt>
<dd>Successful creation occurred (via either POST or PUT). Set the Location header to contain a link to the newly-created resource (on POST). Response body content may or may not be present.</dd> <dd>Successful creation occurred (via either POST or PUT). Set the Location header to contain a link to the newly-created resource (on POST). Response body content may or may not be present.</dd>
<dt>204 NO CONTENT</dt> <dt>204 NO CONTENT</dt>
<dd>Indicates success but nothing is in the response body, often used for DELETE and UPDATE operations.</dd> <dd>Indicates success but nothing is in the response body, often used for DELETE and PUT operations.</dd>
<dt>400 BAD REQUEST</dt> <dt>400 BAD REQUEST</dt>
<dd>General error when fulfilling the request would cause an invalid state. Domain validation errors, missing data, etc. are some examples.</dd> <dd>General error when fulfilling the request would cause an invalid state. Domain validation errors, missing data, etc. are some examples.</dd>
<dt>401 UNAUTHORIZED</dt> <dt>401 UNAUTHORIZED</dt>