Simple Remote IP API

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

Status

/ip.mindc.net running...

API

(715) 472-8332

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 JSON-RPC 2.0 request with any string value as method

Source code

608-557-3099

Using /github.com/valyala/fasthttp as net/http replacement.
Using /github.com/buaazp/fasthttprouter as HTTP request router.
Using /github.com/caarlos0/env as ENV parser.
Using 2063360487 for Markdown CSS

2017