/cgi-samples

cgi

Primary LanguageJavaApache License 2.0Apache-2.0

README

python server.py

java

sdk install java

kts

sdk install kotlin
sdk install kscript

open

open "http://localhost:8080/bin/hello.js?name=test"
open "http://localhost:8080/bin/hello.rb?name=test"
open "http://localhost:8080/bin/hello.py?name=test"
open "http://localhost:8080/bin/hello.bash?name=test"
open "http://localhost:8080/bin/hello.swift?name=test"
open "http://localhost:8080/bin/hello.kts?name=test"

curl

curl "http://localhost:8080/bin/hello.js?name=test"
curl "http://localhost:8080/bin/hello.rb?name=test"
curl "http://localhost:8080/bin/hello.py?name=test"
curl "http://localhost:8080/bin/hello.bash?name=test"
curl "http://localhost:8080/bin/hello.swift?name=test"
curl "http://localhost:8080/bin/hello.kts?name=test"