1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

OpenAI: post

This commit is contained in:
M66B 2023-03-08 20:38:23 +01:00
parent 7939ee1658
commit 10c2f8202c

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);