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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -