The Wayback Machine - https://web.archive.org/web/20200717162100/https://github.com/topics/web-development
Skip to content
#

web-development

Here are 1,574 public repositories matching this topic...

zohaad
zohaad commented Apr 14, 2020

I tried to find this in the documentation and examples, but there's no example of a manual request being made, only <form action="/login" method="post">

I tried:

let form = this.document.getElementById( 'loginForm' );
var formData = new FormData( form );
let res = await fetch( '/', {
    method: 'POST',
    body: formData,
    header: { 'Content-Type': 'multipart/form-data' },
})

Improve this page

Add a description, image, and links to the web-development topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the web-development topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.