webapi上传图片页面出现的错误,哪里有问题?

192.168.3.2:81/api/Article/Upload:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Access to XMLHttpRequest at 'http://192.168.3.2:81/api/Article/Upload' from origin 'http://localhost:13811' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

webapi提交上传图片,为什么会有这样的页面脚本错误提示,问题在哪呢??

查看php日志,可能是服务端有错误

前端提交的话,可能是跨域问题。

应该是权限问题,或者没有目录,