Skip to content

An http interface to multi-language script input, execution and output

Notifications You must be signed in to change notification settings

mkrecny/http-dynamic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-dynamic -- execute any script over HTTP

Note

This is an experiment. It is not performant! Do not use in production.

Usage

Start http-dynamic

  ./lib/http-dynamic

Put scripts (ruby, python, php) in the ./scripts directory:

scripts/hello.rb

	puts 'hello from ruby'
	puts 'arguments are '+ ARGV[0]
	exit()

And execute over HTTP:

	curl localhost:8080/hello.rb?foo=bar

Should output:

	hello from ruby
	arguments are foo=bar

(all data written to stdout will be buffered and returned to HTTP client when script exits)

About

An http interface to multi-language script input, execution and output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published