获取本机IP,用户代理

  1、获取本机IP:http://httpbin.org/ip

   

  2、获取用户代理

   https://httpbin.org/user-agent

   

  https://httpbin.org/

httpbin(1): HTTP Request & Response Service

Freely hosted in HTTPHTTPS, & EU flavors by Kenneth Reitz &Runscope.

BONUSPOINTS

ENDPOINTS

原文地址:https://www.cnblogs.com/shaosks/p/7366133.html