Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 458 Bytes

myip.md

File metadata and controls

16 lines (11 loc) · 458 Bytes

心动 myip 服务接口文档

本接口可以返回请求者的公网IP地址。提供 http 和 tcp 两种调用形式。

APIs

端口 协议 请求 返回
443 https https://ip.xindong.com/myip 字符串类型,请求者的IP
443 https https://ip.xindong.com/myloc JSON格式,请求者的地区信息

测试 http 接口

#curl https://myip.xindong.com/myip