如何检测来自 webapi 的调用 Source/Device?
How to Detect the calling Source/Device from webapi?
我正在跟踪日志中的 Web API 执行时间 table 这很好用,但现在的问题是,我还需要捕获调用 API 的源秒。有多个来源,例如 iPad、iPhone、Adroid 设备和 PostMan 客户端等正在调用这些 API。我想跟踪这些设备。是否有可能跟踪这样的事情,将不胜感激您的帮助。
查看"User-Agent" header参数。
One common use of the term refers to a web browser telling a web site information about the browser and operating system
我正在跟踪日志中的 Web API 执行时间 table 这很好用,但现在的问题是,我还需要捕获调用 API 的源秒。有多个来源,例如 iPad、iPhone、Adroid 设备和 PostMan 客户端等正在调用这些 API。我想跟踪这些设备。是否有可能跟踪这样的事情,将不胜感激您的帮助。
查看"User-Agent" header参数。
One common use of the term refers to a web browser telling a web site information about the browser and operating system