dockerfiles/httpbin
kev 849a0b952e fix httpbin 2022-02-14 18:33:10 +08:00
..
Dockerfile fix httpbin 2022-02-14 18:31:03 +08:00
README.md fix httpbin 2022-02-14 18:33:10 +08:00
docker-compose.yml update httpbin 2022-02-14 18:23:42 +08:00

httpbin

httpbin is a HTTP Request & Response Service, written in Python + Flask.

docker-compose.yml

version: "3.8"
services:
  httpbin:
    image: vimagick/httpbin
    ports:
      - "8000:8000"
    restart: unless-stopped

up and running

$ docker-compose up -d
$ curl http://127.0.0.1:8000/ip
$ curl http://127.0.0.1:8000/get
$ curl http://127.0.0.1:8000/post -d hello=world