Sha256: e3a80caaa0bb12b61b4c6c4aa9586ba02c25d2d9a920c0b5b0706a54314c27ed

Contents?: true

Size: 1.4 KB

Versions: 5

Compression:

Stored size: 1.4 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title>CGI Execution Examples</title>
  </head>
  <body>
    <h1>CGI Execution Examples</h1>
    <section>
      <h2>Call CGI Script with No Parameters</h2>
      <a href="show-environment.cgi">show-environment.cgi</a>
    </section>

    <section>
      <h2>Call CGI Script with Arguments</h2>
      <a href="show-environment.cgi?a+b+c">show-environment.cgi?a+b+c</a>
    </section>

    <section>
      <h2>Call CGI Script with application/x-www-form-urlencoded</h2>
      <a href="show-environment.cgi?a=1&b=2&c=3">show-environment.cgi?a=1&b=2&c=3</a>
    </section>

    <section>
      <h2>Call CGI Script by POST</h2>
      <form action="show-environment.cgi">
	<input type="hidden" name="pione-action" value="get"/>
	<input type="hidden" name="a" value="1"/>
	<input type="hidden" name="b" value="2"/>
	<input type="hidden" name="c" value="3"/>
	<button type="submit">Call by POST</button>
      </form>
    </section>

    <section>
      <h2>Call CGI Script with multipart/form-data</h2>
      <form action="show-environment.cgi" method="POST" enctype="multipart/form-data">
	<input type="hidden" name="pione-action" value="get"/>
	<input type="hidden" name="a" value="1"/>
	<input type="hidden" name="b" value="2"/>
	<input type="hidden" name="c" value="3"/>
	<input type="file" name="testfile"/>
	<button type="submit">Call by POST</button>
      </form>
    </section>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pione-0.5.0 example/Interaction/etc/cgi.html
pione-0.5.0.alpha.2 example/Interaction/etc/cgi.html
pione-0.5.0.alpha.1 example/Interaction/etc/cgi.html
pione-0.4.2 example/Interaction/etc/cgi.html
pione-0.4.1 example/Interaction/etc/cgi.html