From 5a311890aa24f5aeeb1fe299876b022fc55b97a3 Mon Sep 17 00:00:00 2001 From: Gert van Dijk Date: Sun, 31 Mar 2019 19:25:22 +0200 Subject: [PATCH] docs: HTTP API tsigkeys example shows wrong body Two errors fixed: * The JSON body parameter key 'key' was provided twice. I think it should have been the 'name' key. * One value wasn't terminated with a double quote. The HTTP code block parser warned about this in the sphinx-build output. --- docs/http-api/tsigkey.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/http-api/tsigkey.rst b/docs/http-api/tsigkey.rst index 83b3db55f1..5509e21d56 100644 --- a/docs/http-api/tsigkey.rst +++ b/docs/http-api/tsigkey.rst @@ -36,7 +36,7 @@ Modifying the key material X-Api-Key: secret Content-Type: application/json - {"key": "mytsigkey, "key": "GQNyFy1QagMUarHmiSgsIJajghdTGJGVcN5TRVwgbclzxGyhQR1uYLCOyJ/uj9uj12jyeLwzJuW12wCI9PYv7Q=="} + {"name": "mytsigkey", "key": "GQNyFy1QagMUarHmiSgsIJajghdTGJGVcN5TRVwgbclzxGyhQR1uYLCOyJ/uj9uj12jyeLwzJuW12wCI9PYv7Q=="} .. code-block:: http -- 2.47.2