An open API service indexing awesome lists of open source software.

https://github.com/andreip/http-server

Simple HTTP server, with basic functionality.
https://github.com/andreip/http-server

Last synced: 9 months ago
JSON representation

Simple HTTP server, with basic functionality.

Awesome Lists containing this project

README

          

Basic HTTP server.

Supports:
* GET method

How to config:
* clone the repo
* install ruby 1.9.x
* From a CLI terminal, give the following command:
$ ruby httpd.rb
* Then from another terminal / tab, give
$ telnet localhost 6000
** 6000 is the port the server is listening

How to use:
* Query examples:
GET README
GET /test/FAQ
GET test
* To exit, write two empty lines (press 'Enter' two times)

TODO:
* add support for other methods