open-consul/website/source/api
Frank Schröder c7cc62ab5a agent: consolidate handling of 405 Method Not Allowed (#3405)
* agent: consolidate http method not allowed checks

This patch uses the error handling of the http handlers to handle HTTP
method not allowed errors across all available endpoints. It also adds a
test for testing whether the endpoints respond with the correct status
code.

* agent: do not panic on metrics tests

* agent: drop other tests for MethodNotAllowed

* agent: align /agent/join with reality

/agent/join uses PUT instead of GET as documented.

* agent: align /agent/check/{fail,warn,pass} with reality

/agent/check/{fail,warn,pass} uses PUT instead of GET as documented.

* fix some tests

* Drop more tests for method not allowed

* Align TestAgent_RegisterService_InvalidAddress with reality

* Changes API client join to use PUT instead of GET.

* Fixes agent endpoint verbs and removes obsolete tests.

* Updates the change log.
2017-09-25 23:11:19 -07:00
..
agent agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
operator Shows the segment name in the keyring API and command output. 2017-09-07 12:17:39 -07:00
acl.html.md Adds a new /v1/acl/bootstrap API (#3349) 2017-08-02 17:05:18 -07:00
agent.html.md agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
catalog.html.md Update example 2017-09-11 13:01:56 +02:00
coordinate.html.md Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
event.html.md Update API docs 2017-04-04 12:33:35 -04:00
health.html.md Fix health endpoint docs (#3483) 2017-09-20 09:05:23 +02:00
index.html.md Update index.html.md 2017-07-20 09:34:13 -07:00
kv.html.md Update API docs 2017-04-04 12:33:35 -04:00
libraries-and-sdks.html.md Adds ConsulSwift Client to docs (#3166) 2017-06-20 17:16:34 -07:00
operator.html.md Deprecates the ACLs internals doc in favor of a guide. 2017-04-04 18:56:42 -07:00
query.html.md minor doc fix 2017-09-21 22:28:49 +03:00
session.html.md fixed typo 2017-04-26 10:09:02 +02:00
snapshot.html.md API DOCS: Update snapshot curl example (#3423) 2017-08-29 09:05:00 -07:00
status.html.md Update API docs 2017-04-04 12:33:35 -04:00
txn.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00