node.js - How do I get the country of origin for a HTTP request? -


i form response based on country of origin of http client. how can achieve it?

httpservletrequest gives information requests

public string yourmethod(httpservletrequest request){   system.out.println( "local contry" + request.getlocale().getcountry() ); } 

note based on browser configuration, can live in , configure in india.


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -