Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions fetch-api/fetch-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ <h3>Background</h3>
<p>This sample shows how the Fetch API can make POST requests.</p>

<textarea autofocus id="gist" cols="80" rows="10">
// Enter some JavaScript here
// e.g
</textarea>
<script>
document.getElementById("gist").placeholder = "// Enter some JavaScript here\n// e.g\n";
</script>
<p><button>Create new GitHub Gist</button></p>

{% include output_helper.html %}
Expand Down