A handly HTTP endpoint for Web devs.

Updates: 2019-03-23 - 2019-03-25


  • 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


  • IP address

    • Add tab separated plain text output.
      It's convenient for use with shell environment.

      MY_IP=$(curl https://httputil.dev/ip/plain | cut -f2)

Hello from httputil.dev

httputil is a handy HTTP endpoint for Web developers that focuses on simplicity of use, memorability.

Now it's work in progress for now, we will provide these endpoints:

  • HTTP Statuses
    • route: https://httputil.dev/{status code}{/format(optional)}
      • URL parameters
        • status code
        • format: Response format. choices: plain, json,xml.
      • Headers
        • Accept: If format is empty and with Accept: application/json header, JSON response will be returned.
    • example:
      • https://httputil.dev/200
      • https://httputil.dev/200/json

And httputil is not only available on httputil.dev, but also httputil.com domain.