using curl ip