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.
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
# @date:2023/12/20 16:17
|
|
|
|
|
# @Author:LiuYiJie
|
|
|
|
|
# @file: test_getip
|
|
|
|
|
import requests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
url = 'http://127.0.0.1:8080/get_ip/1'
|
|
|
|
|
res = requests.get(url)
|
|
|
|
|
print(res.text)
|