how to check file param exists ?

Open
#410 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
api, backend

Research direction

Start by reading the multipart example referenced in the issue and trace how multipart fields are currently handled. Determine how the example should show checking picFile1 or picFile2 and retrieving the pub_time text value; done means the example or its documentation makes both operations clear.

Written by the indexing model from the issue text.

Description

good first issue improvement

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 .

Dominant language
Rust
Stars
4k
Forks
812
Avg merge
6h 21m
Merged PRs (30d)
39

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actix/examples

All issues in actix/examples

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.