Skip to content

Commit

Permalink
Switch default HTTP request mode to be POST
Browse files Browse the repository at this point in the history
  • Loading branch information
sathielemann committed Nov 4, 2021
1 parent 2ed495f commit 5f3ce19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function __destruct()
*
* @throws DeepLException
*/
public function request($url, $body = '', $method = 'GET')
public function request($url, $body = '', $method = 'POST')
{
switch ($method) {
case 'DELETE':
Expand Down

0 comments on commit 5f3ce19

Please sign in to comment.