Updates: 2019-03-23 - 2019-03-25
March 23, 2019•91 words
2019-03-23
HTTP Statuses
Support MessagePack response.
e.g.
curl curl -H 'Accept:application/msgpack' https://httputil.dev/200
curl https://httputil.dev/200/msgpack
Found pretty option.
I found echo already support pretty print response, so added it to documentation.
e.g.
curl https://httputil.dev/200/json?pretty
IP address
This endpoint returns JSON of your current IP address and hostname.
$ curl https://httputil.dev/ip
{"host":"your-providers.hostname.example.com.","ip":"...
Read post