Skip to content

dieterichlawson/goliath_exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

This repo holds various small explorations of the Goliath webserver (http://goliath.io).

###simple_uploader.rb Accepts an HTTP POST request that contains a file upload, and writes the file to an 'uploads' directory.

To use it:

ruby simple_uploader.rb -sv
curl -F file=@your_file.txt http://localhost:9000

Afterwards, your_file.txt will be in a directory named "uploads" rooted in the same directory as simple_uploader.rb.

About

A few toy examples of the Goliath webserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages