From 1ab87ca08da073124bade991de9c4b3e8c34baa8 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sat, 8 Oct 2016 17:16:36 +0200 Subject: [PATCH] problems with sending --- controller/camera_send.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controller/camera_send.py b/controller/camera_send.py index c62823c..4afc815 100644 --- a/controller/camera_send.py +++ b/controller/camera_send.py @@ -10,7 +10,8 @@ controller_id = config.CONTROLLER_ID owner = "Controller: %s" % controller_id response = requests.post(config.PICTURE_URL + '/' + controller_id, json={ -"owner": owner, -"controllerId": controller_id, "picture_base64": picture_base64 }) + +puts response +puts picture_base64 is not None