I am a React/Spring beginner and I dont know how to make a Fileupload with Primereact. Their Documentation says following (https://www.primefaces.org/primereact/#/fileupload):
FileUpload requires a url property as the upload target and a name to identify the files at backend.
<FileUpload name="demo" url="./upload"></FileUpload>
But it neither say how do I fetch the data, how I access the "demo" in the backend, nor what kind of reponse I get.
Can anyone help me please? I have already searched the web but did not find anything.