garyr / phpbin
HTTP Client Testing Service
1.1.2
2017-12-14 23:04 UTC
Requires
- php: >=5.3.3
- silex/silex: ~1.2
- symfony/config: ~2.6
- symfony/console: ~2.6
- symfony/dependency-injection: ~2.6
- symfony/process: ~2.6
- symfony/yaml: ~2.6
- twig/twig: >=1.8,<2.0-dev
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2024-11-29 04:30:28 UTC
README
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" }