jsonp - How do I find userip and useragent? -
i new programming , trying practice using apis third party websites pull data own site. trying use glassdoor api don't know find required values useragent , userip. glassdoor's explanation:
userip ip address of end user whom api results shown.
useragent user-agent (browser) of end user whom api results shown. note can can obtain "user-agent" http request header end-user.
note want pull data onto test website on own computer , print jsonp results onto page. find these values? thanks!
i having same trouble , think can answer question:
you can find user ip address googling "what ip address." google give correct answer in results or can use site http://www.whatismyip.com/
your user agent info info identifies browser being used, version, , on operating system. can google , provided string or can open console (right click in browser window --> inspect elements --> console) , type navigator.useragent give info seek.
hope helps!
Comments
Post a Comment