Coder Social home page Coder Social logo

httpwut's Introduction

httpwut

CLI tool to lookup HTTP status code information.

This is a tool for me to learn Go, so you probably shouldn't use this.

λ httpwut is -h    
Lookup HTTP status codes

Usage:
  httpwut is [flags]

Flags:
  -c, --cats      Open HTTP Status Cats webpage for status
  -d, --dogs      Open HTTP Status Dogs webpage for status
  -h, --help      help for is
  -v, --verbose   Print status code description and URL

λ httpwut is 502       
502 - Bad Gateway

λ httpwut is 502 --verbose
502 - Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
https://www.rfc-editor.org/rfc/rfc9110.html#name-502-bad-gateway

Passing --cats and/or --dogs (you can do both at the time same) will open the status codes on https://http.cats and https://httpstatusdogs.com, respectively.

httpwut's People

Contributors

dependabot[bot] avatar rpearce avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.