Sha256: 53fce8b6b41fc35fd6c8d1c95e127bd73cf57fd6b210d367e9bda99f10381255
Contents?: true
Size: 1.53 KB
Versions: 5
Compression:
Stored size: 1.53 KB
Contents
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Interaction Example: Create files</title> </head> <body> <h1>POST Method Examples</h1> <section> <h2>Create by input text</h2> <form action="output1.txt" method="POST"> <input type="hidden" name="pione-action" value="create" /> <input type="text" name="pione-content" /> <button type="submit">Create output1.txt</button> </form> </section> <section> <h2>Create by select box</h2> <form action="output2.txt" method="POST"> <input type="hidden" name="pione-action" value="create" /> <select name="pione-content"> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> </select> <button type="submit">Create output2.txt</button> </form> </section> <section> <h2>Create by radio button</h2> <form action="output3.txt" method="POST"> <input type="hidden" name="pione-action" value="create" /> <input type="radio" name="pione-content" value="1" checked="checked" />1 <input type="radio" name="pione-content" value="2" />2 <input type="radio" name="pione-content" value="3" />3 <button type="submit">Create output3.txt</button> </form> </section> <section> <h2>Create with multipart/form-data</h2> <form action="output4" method="POST" enctype="multipart/form-data"> <input type="hidden" name="pione-action" value="create"/> <input type="file" name="pione-content"/> <button type="submit">Call by POST</button> </form> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems