Skip to content

Commit 7051515

Browse files
committed
docs: network/02-formdata 번역 작업
1 parent 44cd4fd commit 7051515

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

5-network/02-formdata/article.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ HTML에 `form` 요소가 있는 경우, 위와 같은 코드를 작성하면 해
4747
</script>
4848
```
4949

50-
<<<<<<< HEAD
51-
요청을 받아 처리하는 서버 측 코드는 튜토리얼 범위를 넘어서서 추가하진 않았는데, 서버는 POST 요청을 받아 '저장 성공'이라는 응답을 보내준다고 정도만 알고 계시면 됩니다.
52-
=======
53-
In this example, the server code is not presented, as it's beyond our scope. The server accepts the POST request and replies "User saved".
54-
>>>>>>> upstream/master
50+
이 예시에서 요청을 받아 처리하는 서버 코드는 튜토리얼 범위를 벗어나므로 제시하지 않습니다. 서버는 POST 요청을 받고 '저장 성공'이라고 응답을 보내준다는 정도만 알고 계시면 됩니다.
5551

5652
## FormData 메서드
5753

@@ -172,11 +168,7 @@ formData.append("image", imageBlob, "image.png");
172168

173169
[FormData](https://xhr.spec.whatwg.org/#interface-formdata) 객체는 `fetch` 등의 네트워크 메서드를 통해 HTML 폼을 보내는데 사용됩니다.
174170

175-
<<<<<<< HEAD
176171
`FormData` 객체는 HTML 폼(`form`)을 직접 넘겨 `new FormData(form)`으로 만들 수도 있고, HTML 폼 없이 다음과 같은 메서드로 필드를 추가해 만들 수도 있습니다.
177-
=======
178-
We can either create `new FormData(form)` from an HTML form, or create an object without a form at all, and then append fields with methods:
179-
>>>>>>> upstream/master
180172

181173
- `formData.append(name, value)`
182174
- `formData.append(name, blob, fileName)`

0 commit comments

Comments
 (0)