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

Commit 5f3ce19

Browse files
author
sathielemann
committed
Switch default HTTP request mode to be POST
1 parent 2ed495f commit 5f3ce19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function __destruct()
106106
*
107107
* @throws DeepLException
108108
*/
109-
public function request($url, $body = '', $method = 'GET')
109+
public function request($url, $body = '', $method = 'POST')
110110
{
111111
switch ($method) {
112112
case 'DELETE':

0 commit comments

Comments
 (0)