I need help with implementation send image from React app to server api. In React I use library FilePond for send image, and that work great, but I dont know how to get this image on server, I use NETTE framework and also apitte library for request. If you know how to send and get images another way, write please. Thank you very much!
For example how I use FilePond in react
<FilePond allowMultiple={true} server={"http://localhost:3000" + this.baseProperties.uploadUrl}/>
and part of php code
/**
* @Path("/upload")
* @Method("POST")
* @param ApiRequest $request
* @return string
*/
public function uploadImage(ApiRequest $request)
{
return 'check';
}