#!/usr/local/bin/ruby -Ks
require "web"

api = Web::Interface::AUTO.new
api.each {|req|
  rsp = Web::Response.new
  rsp.content_type = 'text/plain'
  rsp << req['text'].to_s

  api.response req,rsp
}

