Receiving image file on Flask server from React frontend

前端 未结 0 1727
清歌不尽
清歌不尽 2021-02-05 19:44

I\'m trying to upload an image with React:

const [selectedFile, setSelectedFile] = useState();

const handleSubmit = e => {
    e.preventDefault();
    console         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题