Public Notes on
View Public Collections
"jsonip.com is a free utility service that returns a client's IP address in a JSON object with support for JSONP, CORS, and direct requests. It serves millions of requests each day for websites, servers, mobile devices and more from all around the world. jsonip has been in service since November 2010." #free #javascript #json #ip_addresses #simple #ideas #copy #linkbait #web_tools #pub
Show More
jsonip gist.github.com
"server { listen 80; gzip on; gzip_vary on; gzip_types application/json; add_header Access-Control-Allow-Methods GET; add_header Access-Control-Allow-Origin *; default_type application/json; location = "/about" { return 200 '{"About":"Inspired by jsonip.com"}'; } location ~ ^/(.+)$ { return 200 '$1({"ip":"$remote_addr","about":"/about"})'; } location / { if ($arg_callback != "") { rewrite ^ /$arg_callback last; } return 200 '{"ip":"$remote_addr","about":"/about"}'; } }" #gists #code #free #open_source #json #ip_addresses #web_tools #nodejs #pub
Show More