Hunter-Dolan / jsonip

Because JS needs a way to lookup the users IP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is just a simple little ruby app I wrote to output the users IP in the JSON tree format. 

Simply deploy this app and go to /json and you should be able to see your IP.

== NOTES ==

Some systems like Heroku don't handle requests properly when they are running through their cloud. As a result you wil see the servers ip when you go to /json

== HOSTED ==

I modified the script a bit so that it can run on google appengine...

You can use it here http://hdsjsonip.appspot.com/

About

Because JS needs a way to lookup the users IP


Languages

Language:Ruby 100.0%