Unanswered
Hi All, Is There An Easy Way To Ping The Server Programatically?
I'M Just Trying To See What Is The Default Server That Is Set, And Is It Responsive
I am not familiar with this.. thats why I'm struggling.. this is what I tried:import requests import os r = requests.post(url+ '/v2.14/debug/ping') r.json()
response:{'meta': {'id': 'ebd6bdeaa95c4c3397009c71d9444040', 'trx': 'ebd6bdeaa95c4c3397009c71d9444040', 'endpoint': {'name': '', 'requested_version': 1.0, 'actual_version': None}, 'result_code': 400, 'result_subcode': 0, 'result_msg': 'Invalid request path /v2.14/debug/ping', 'error_stack': None, 'error_data': {}}, 'data': {}}
158 Views
0
Answers
3 years ago
one year ago