problems with sending
This commit is contained in:
@@ -10,7 +10,8 @@ controller_id = config.CONTROLLER_ID
|
|||||||
owner = "Controller: %s" % controller_id
|
owner = "Controller: %s" % controller_id
|
||||||
|
|
||||||
response = requests.post(config.PICTURE_URL + '/' + controller_id, json={
|
response = requests.post(config.PICTURE_URL + '/' + controller_id, json={
|
||||||
"owner": owner,
|
|
||||||
"controllerId": controller_id,
|
|
||||||
"picture_base64": picture_base64
|
"picture_base64": picture_base64
|
||||||
})
|
})
|
||||||
|
|
||||||
|
puts response
|
||||||
|
puts picture_base64 is not None
|
||||||
|
|||||||
Reference in New Issue
Block a user