Open K0nkere opened 1 year ago
Send POST consist of value and file request to webhook with authorization
url = "<...>" auth = "<...>" data = {"AgendaItemId": <str???>} files = {"file": open(<file_path>, 'rb')} headers = {"Authorization": auth} response = requests.post(url, headers=headers, files=files, data=data ).json() files['file'].close()
Send POST consist of value and file request to webhook with authorization