Tried "http://127.0.0.1:3000/+ local path" results not
Thank you very much!
Is the post request urls in how to write
UploadFile=(e)=& gt; {
Const param=new FormData ();
Param. Append (" file ", this. State. ImagePreviewUrl);
Const config={
The content-type headers: {" ":" multipart/form - the data "}
};
Axios. Post ("/url "param, config). Then (res=& gt; {
console.log(res);
});
};