Skip to content

Commit fe4f5b0

Browse files
committed
minor
1 parent cc5213b commit fe4f5b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

5-network/02-formdata/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# FormData
33

4-
This chapter is about sending HTML forms: with or without files, with additional fields and so on. [FormData](https://xhr.spec.whatwg.org/#interface-formdata) is the object to handle that.
4+
This chapter is about sending HTML forms: with or without files, with additional fields and so on. [FormData](https://xhr.spec.whatwg.org/#interface-formdata) objects can help with that.
55

66
The constructor is:
77
```js
@@ -10,9 +10,9 @@ let formData = new FormData([form]);
1010

1111
If HTML `form` element is provided, it automatically captures its fields.
1212

13-
Network methods, such as `fetch` can use `FormData` objects as a body, they are automatically encoded and sent with `Content-Type: form/multipart`.
13+
Network methods, such as `fetch` accept `FormData` objects as a body. They are encoded and sent out with `Content-Type: form/multipart`.
1414

15-
So from the server point of view, that's a usual form submission.
15+
So, from the server point of view, that looks like a usual form submission.
1616

1717
## Sending a simple form
1818

0 commit comments

Comments
 (0)