From c757f7d84807dd8b59bf6b1c5c54e10a6600ee7d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 28 Jan 2017 17:54:00 +0900 Subject: [PATCH] nghttpx: Recommend POST for backendconfig API request --- doc/nghttpx.h2r | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/nghttpx.h2r b/doc/nghttpx.h2r index 7159e512..abf1fb7f 100644 --- a/doc/nghttpx.h2r +++ b/doc/nghttpx.h2r @@ -549,11 +549,11 @@ some cases where the error has occurred before reaching API endpoint The following section describes available API endpoints. -PUT /api/v1beta1/backendconfig -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +POST /api/v1beta1/backendconfig +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This API replaces the current backend server settings with the -requested ones. The request method should be PUT, but POST is also +requested ones. The request method should be POST, but PUT is also acceptable. The request body must be nghttpx configuration file format. For configuration file format, see `FILES`_ section. The line separator inside the request body must be single LF (0x0A).