diff options
| author | MDN <actions@users.noreply.github.com> | 2021-07-01 00:37:12 +0000 |
|---|---|---|
| committer | MDN <actions@users.noreply.github.com> | 2021-07-01 00:37:12 +0000 |
| commit | b0a393384aa4021c915e6a650c75ff328a054cb2 (patch) | |
| tree | 5f049f0db1c3b87c9d8ea12564cf7bc43b0e8f07 /files/de/web/api/body/formdata | |
| parent | 3f2eea0abf998516fe98d64da8da53a03d36c3ee (diff) | |
| download | translated-content-b0a393384aa4021c915e6a650c75ff328a054cb2.tar.gz translated-content-b0a393384aa4021c915e6a650c75ff328a054cb2.tar.bz2 translated-content-b0a393384aa4021c915e6a650c75ff328a054cb2.zip | |
[CRON] sync translated content
Diffstat (limited to 'files/de/web/api/body/formdata')
| -rw-r--r-- | files/de/web/api/body/formdata/index.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/files/de/web/api/body/formdata/index.html b/files/de/web/api/body/formdata/index.html deleted file mode 100644 index 4ceb02aeb4..0000000000 --- a/files/de/web/api/body/formdata/index.html +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Body.formData() -slug: Web/API/Body/formData -translation_of: Web/API/Body/formData ---- -<div>{{APIRef("Fetch")}}</div> - -<p>Die Methode <strong><code>formData()</code></strong> des {{domxref("Body")}} Mixin nimmt einen {{domxref("Response")}} Stream und liest ihn bis zum Ende. Sie gibt ein Promise zurück, welches in ein {{domxref("FormData")}} Objekt aufgelöst wird.</p> - -<div class="note"> -<p><strong>Hinweis:</strong> Dies ist hauptsächlich für <a href="/de/docs/Web/API/ServiceWorker_API">Service Worker</a> relevant. Wenn ein Benutzer ein Formular absendet und ein Service Worker die Anfrage abfängt, könnten Sie bspw. <code>formData()</code> aufrufen, um eine Key-Value-Abbildung zu erhalten, einige Felder zu modifizieren und das Formular dann an den Server weiterzuschicken (oder lokal zu benutzen).</p> -</div> - -<h2 id="Syntax">Syntax</h2> - -<pre class="syntaxbox">response.formData() -.then(function(formdata) { - // machen Sie etwas mit Ihren Formulardaten -});</pre> - -<h3 id="Parameter">Parameter</h3> - -<p>Keine.</p> - -<h3 id="Rückgabewert">Rückgabewert</h3> - -<p>Ein Promise, welches in ein {{domxref("FormData")}} Objekt aufgelöst wird.</p> - -<h2 id="Beispiel">Beispiel</h2> - -<p>Wird nachgereicht.</p> - -<h2 id="Spezifikationen">Spezifikationen</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('Fetch','#dom-body-formdata','formData()')}}</td> - <td>{{Spec2('Fetch')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="Browserkompatibilität">Browserkompatibilität</h2> - - - -<p>{{Compat("api.Body.formData")}}</p> - -<h2 id="Siehe_auch">Siehe auch</h2> - -<ul> - <li><a href="/de/docs/Web/API/ServiceWorker_API">ServiceWorker API</a></li> - <li><a href="/de/docs/Web/HTTP/Access_control_CORS">HTTP access control (CORS)</a></li> - <li><a href="/de/docs/Web/HTTP">HTTP</a></li> -</ul> |
