{"repo":"mccutchen/go-httpbin","free":true,"listed":false,"github":"https://github.com/mccutchen/go-httpbin","clone":"git clone https://github.com/mccutchen/go-httpbin.git","description":"A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.","language":"Go","stars":878,"topics":["httpbin","golang","testing","http"],"license":"MIT","category":"dev-tools","readme_excerpt":"go-httpbin A reasonably complete and well-tested golang port of [Kenneth Reitz][kr]'s [httpbin][httpbin-org] service, with zero dependencies outside the go stdlib. Usage Docker/OCI images Prebuilt images for the linux/amd64 and linux/arm64 architectures are automatically published to these public registries for every tagged release: - [ghcr.io/mccutchen/go-httpbin][ghcr] (recommended) - [mccutchen/go-httpbin][docker-hub] [!NOTE] Prebuilt image versions = 2.19.0 run as a non-root user by default. See Configuring non-root docker images below for details. Kubernetes See ./kustomize directory for further information Standalone binary Follow the Installation instructions to install go-httpbin as a standalone binary, or use go run to install it on demand: Examples: Unit testing helper library The github.com/mccutchen/go-httpbin/httpbin/v2 package can also be used as a library for testing an application's interactions with an upstream HTTP service, like so: GitHub Actions/Workflows The 3rd-party [lfreleng-actions/go-httpbin-action][] action is an easy way to make a local instance of go-httpbin available to other steps in a GitHub Actions workflow. Configuration go-httpbin can be configured via either command line arguments or environment variables (or a combination of the two): Argument Env var Documentation Default - - - - -allowed-redirect-domains ALLOWED REDIRECT DOMAINS Comma-separated list of domains the /redirect-to endpoint will allow -exclude-headers EXCLUDE HEADERS Drop pla","default_branch":null,"files":null,"tree":[],"storefront":"/r/mccutchen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mccutchen/go-httpbin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}