Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7ad203c

Browse files
author
sathielemann
committed
Set default method to POST
1 parent 2c89f05 commit 7ad203c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ClientInterface
1818
*
1919
* @throws DeepLException
2020
*/
21-
public function request($url, $body = '', $method = 'GET');
21+
public function request($url, $body = '', $method = 'POST');
2222

2323
/**
2424
* Set a proxy to use for querying the DeepL API if needed

0 commit comments

Comments
 (0)