This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import pytz | |
import json | |
import logging | |
from tkinter import filedialog | |
from tkinter import Tk | |
from datetime import datetime | |
from tqdm import tqdm | |
from typing import Optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void POST_LINE_Message_To_Server(string message) | |
{ | |
char message_data[], result[]; | |
string RequestMethod = "POST"; | |
string headers = "Content-Type: application/x-www-form-urlencoded" + "\r\n"; | |
headers += "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" + "\r\n"; | |
int timeout = 10000; | |
string result_headers = NULL; | |
string message_text = "message="; | |
message_text += message; |