garyr/phpbin

HTTP Client Testing Service

1.1.2 2017-12-14 23:04 UTC

This package is auto-updated.

Last update: 2024-11-29 04:30:28 UTC


README

Build Status

phpbin: HTTP Client Testing Service

Usage

$ composer install

# Start a web server on localhost:8000
$ ./bin/console server:start

Browse to

http://localhost:8000/

Curl Usage

$ curl http://localhost:8000/get

Response

{
    "args": {},
    "headers": {
        "Accept": "*/*",
        "Host": "localhost:8000",
        "User-Agent": "curl/7.30.0"
    },
    "origin": "127.0.0.1",
    "url": "http://localhost:8000/get"
}