mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
OpenAI: post
This commit is contained in:
parent
7939ee1658
commit
10c2f8202c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue