From 151cbcd49fd8a99d9440d726ee77c766246df84c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Thu, 1 Mar 2018 19:15:14 +0100 Subject: [PATCH] Updated README to be correct --- server/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/README.md b/server/README.md index 017b7234..8ae47b6b 100644 --- a/server/README.md +++ b/server/README.md @@ -128,7 +128,7 @@ Returns 200 and the song Get channelsettings ``` -GET /api/list/:channel_name/ +GET /api/conf/:channel_name/ Returns 403 for bad authentication (if you get this, try POST with userpassword attached) Returns 404 if the channel doesn't exist @@ -137,7 +137,7 @@ Returns 200 and the objects in the channel Get channelsettings (protected) ``` -POST /api/list/:channel_name/ +POST /api/conf/:channel_name/ { "userpass": USERPASS }