mirror of https://github.com/M66B/FairEmail.git
OpenAI: post
This commit is contained in:
parent
7939ee1658
commit
10c2f8202c
|
@ -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 New Issue