From 6d287427879950e08f434fd04ccf15e9076b425b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 28 Jul 2016 15:17:52 -0400 Subject: Remove id from POST requests --- project/shoutboxapicommunicator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project/shoutboxapicommunicator.py') diff --git a/project/shoutboxapicommunicator.py b/project/shoutboxapicommunicator.py index 21e7e8e..7af430e 100644 --- a/project/shoutboxapicommunicator.py +++ b/project/shoutboxapicommunicator.py @@ -48,8 +48,8 @@ class ShoutboxCommunicator(BaseCommunicator): @staticmethod def send(data): """Send a message to the API""" - post_params = "?user={}&text={}&id={}&ip={}×tamp={}&api_token={}".format( - data["user"], data["text"], data["id"], data["ip"], data["timestamp"], + post_params = "?user={}&text={}&ip={}×tamp={}&api_token={}".format( + data["user"], data["text"], data["ip"], data["timestamp"], ShoutboxCommunicator.token ) -- cgit v1.3