Giter VIP home page Giter VIP logo

http-dump's Introduction

HTTP Dump

Dump HTTP requests for debugging purpose

Requires Python >= 3.6

Codacy Badge Gitpod ready-to-code Hits

Getting Started

$ docker run -p 8080:80 ghcr.io/jaswdr/http-dump:master
 * Serving Flask app 'dump' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
 * Running on http://10.0.0.1:80/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 995-808-312

Then open http://localhost:8080/?foo=bar&bar=foo

Example of response:

{
    "uuid": "9b513c673ee840b581b964b0aca3f62c",
    "endpoint": "dump",
    "method": "GET",
    "cookies": {
        "grafana_session": "88deff3280a7bcaab18922192d282442",
        "cookie-name": "cookie-value"
    },
    "data": "b''",
    "headers": {
        "Host": "10.0.0.1:8080",
        "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0",
        "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
        "Accept-Language": "en-US,en;q=0.5",
        "Accept-Encoding": "gzip, deflate",
        "Dnt": "1",
        "Connection": "keep-alive",
        "Upgrade-Insecure-Requests": "1"
    },
    "args": {
        "foo": "bar",
        "bar": "foo"
    },
    "form": {},
    "remote_addr": "10.0.0.2",
    "files": []
}

Get involved

Have a question? Use the Discussions page.

License

http-dump is released under the MIT Licence. See the bundled LICENSE file for details.

http-dump's People

Contributors

dependabot[bot] avatar jaswdr avatar

Watchers

 avatar  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.