Generic/unknown HTTP error when uploading files to a remote form
问题 I have an HTML page with a form for uploading files to SmartFile. Below is the piece of C# code that I am using to upload the files from my game in Unity to this url. WWWForm fileForm = new WWWForm(); string[] files = Directory.GetFiles(".", "*.txt"); fileForm.AddField("file", files[0]); WWW www = new WWW("https://file.ac/xySSFOicMMk", fileForm); Unfortunately it is leading to the below exception. What is wrong here? Connection error while sending analytics... Error:415 Unsupported Media Type