I would like to read my ip address from the following page(http://l2.io/ip or other) using javascript to save him in my variable \"myIp\".
function getMyIP()
A more reliable REST endpoint would be http://freegeoip.net/json/
Returns the ip address along with the geo-location too. Also has cross-domain requests enabled (Access-Control-Allow-Origin: *) so you don't have to code around JSONP.