Enabled DELETE to have data

- Fixes #311
This commit is contained in:
Jay Patel
2015-05-20 12:56:11 -05:00
parent 9e3ee52f50
commit 226922bca3

View File

@@ -95,6 +95,7 @@ class PayPalHttpConnection
curl_setopt($ch, CURLOPT_POST, true);
case 'PUT':
case 'PATCH':
case 'DELETE':
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
break;
}