Trying multipart
This commit is contained in:
parent
b0532b37ae
commit
00aed00bf6
6 changed files with 56 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
<div>
|
||||
File
|
||||
<textarea name="file-text"></textarea>
|
||||
<input type="file" name="file-bytes">
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</header>
|
||||
<input type="radio" name="tab" class="htab" id="htab-file" aria-hidden="true" checked>
|
||||
<input type="radio" name="tab" class="htab" id="htab-link" aria-hidden="true">
|
||||
<form action="/api/upload" method="post" id="tab-file" role="tabpanel">
|
||||
<form action="/api/upload" method="post" enctype="multipart/form-data" id="tab-file" role="tabpanel">
|
||||
{{> no-auto-submit }}
|
||||
<div class="form-main">
|
||||
{{> file }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue