diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-28 15:17:52 -0400 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-28 15:17:52 -0400 |
| commit | 6d287427879950e08f434fd04ccf15e9076b425b (patch) | |
| tree | 03aac6cb92e2d03fc309236378d7519852c83d2d /project/shoutboxapicommunicator.py | |
| parent | bc99e19c4ccb7748cf010bd2318bb8a8941ec2ba (diff) | |
Remove id from POST requests
Diffstat (limited to 'project/shoutboxapicommunicator.py')
| -rw-r--r-- | project/shoutboxapicommunicator.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |
