aboutsummaryrefslogtreecommitdiffstats
path: root/test/sample-post.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/sample-post.html')
-rw-r--r--test/sample-post.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/sample-post.html b/test/sample-post.html
index c9decdcb..337df97b 100644
--- a/test/sample-post.html
+++ b/test/sample-post.html
@@ -3,8 +3,13 @@
<title>Sample Post test</title>
<body>
<h1>Sample Post test</h1>
+ <form enctype="multipart/form-data">
+ <input type="file" name="file" />
+ <input type="hidden" name="hidden" value="bollobollo" />
<ol>
- <li><a href="api/post/upload-json">upload json</a>
- <li><a href="api/post/upload-image">upload json</a>
- <li><a href="api/post/upload-music">upload json</a>
- <li><a href="api/post/upload-appli">upload json</a>
+ <li><button formmethod="POST" formaction="api/post/ping">ping</button>
+ <li><button formmethod="POST" formaction="api/post/upload-json">upload json</button>
+ <li><button formmethod="POST" formaction="api/post/upload-image">upload image</button>
+ <li><button formmethod="POST" formaction="api/post/upload-music">upload music</button>
+ <li><button formmethod="POST" formaction="api/post/upload-appli">upload application</button>
+ </form>