diff --git a/nodes/upload_to_remote.py b/nodes/upload_to_remote.py index 91e4b4b..cfd7a3c 100644 --- a/nodes/upload_to_remote.py +++ b/nodes/upload_to_remote.py @@ -80,8 +80,12 @@ class UploadToRemote: data['track_id'] = track_id if unique_id: data['unique_id'] = unique_id + + headers = { + "Content-Type": "application/json", + } data = json.dumps(data).encode('utf-8') - res = requests.post(remote_url, data=data) + res = requests.post(remote_url, data=data, headers=headers) # TODO: check the response