OpenAI: post

This commit is contained in:
M66B 2023-03-08 20:38:23 +01:00
parent 7939ee1658
commit 10c2f8202c
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class OpenAI {
URL url = new URL(uri.toString());
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.setDoInput(true);
connection.setReadTimeout(TIMEOUT * 1000);