There seems to be some syntax error in your code snippet. Here's the corrected version: ```java String url = "https://virtualcourse.zhihuishu.com/report/savereport"; try { URL requestUrl = new URL(url); HttpURLConnection connection = (HttpURLConnection) requestUrl.openConnection(); connection.setDoOutput(true); connection.setRequestMethod("POST"); connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW"); DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream()); // Add text parameter outputStream.writeBytes("------web"); // Continue with the rest of your code } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } ``` Please note that this is only a valid code snippet for making a `POST` request to the given URL with the specified content type. You will need to fill in the rest of the code for any additional requirements, such as adding additional parameters or file uploads. [2024-05-20 09:08:20 | AI写代码神器 | 404点数解答]