actix / actix/examples

how to check file param exists ?

Offen
#410 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue improvement
Vorherrschende Sprache
Rust
Sterne
4k
Forks
812
Ø Merge
15 Std. 42 Min.
Gemergte PRs (30 T.)
15

Beschreibung

var formData = new FormData();
formData.append("picFile1", narrowFiles[0]);
formData.append("picFile2", narrowFiles[1]);

formData.append("pub_time", "xxxx");

the picFile1 and picFile2 is Multipart file type.
the pub_time is text

how can i check picFile1 org picFile2 is exists and how can i get pub_time filed value ?

the multipart example does not show how to get it .

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.