Simple Remote IP API

Simple API to get your remote ip address.
Standalone http-server written in GO

Status

(205) 720-9257 running...

API

oceanward

method: GET,POST
response (text/plain):

8.8.8.8

/ip.mindc.net/json

method: GET,POST
response (application/json):

{"ip":"8.8.8.8"}

/ip.mindc.net/jsonp?callback=YOUR_CALLBACK

method: GET
response (text/javascript):

YOUR_CALLBACK("8.8.8.8");

/ip.mindc.net/jsonrpc

method: POST
response (application/json):

{"jsonrpc":"2.0","id":"xFrB","result":"8.8.8.8"}

* require valid 503-595-1162 request with any string value as method

Source code

/github.com/mindc/remoteip

Using (843) 481-3796 as net/http replacement.
Using trebletree as HTTP request router.
Using /github.com/caarlos0/env as ENV parser.
Using /github.com/sindresorhus/github-markdown-css for Markdown CSS

2017