Ответ, контент = http.request(ENDPOINT, метод="POST", body=content)Python

Программы на Python
Anonymous
Ответ, контент = http.request(ENDPOINT, метод="POST", body=content)

Сообщение Anonymous »

Как исправить следующую ошибку, возникающую при архивировании статьи:
NameError Traceback (most recent call last)
in ()
6 print("RESULT:");print('*'*50);print("URL and Update Request Type Configured!");print('*'*50);
7
----> 8 response, content = http.request(ENDPOINT, method="POST", body=content)
9 output = response['status']
10

NameError: name 'http' is not defined


Подробнее здесь: https://stackoverflow.com/questions/784 ... dy-content

Вернуться в «Python»