You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
387 B
Python

import requests
import json
API_KEY = "mirotalksfu_default_secret"
MIROTALK_URL = "http://localhost:3010/api/v1/meeting"
headers = {
"authorization": API_KEY,
"Content-Type": "application/json",
}
response = requests.post(
MIROTALK_URL,
headers=headers
)
print("Status code:", response.status_code)
data = json.loads(response.text)
print("meeting:", data["meeting"])