We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c578ed + a0bb394 commit e5b60a5Copy full SHA for e5b60a5
app/code/Magento/WebapiAsync/Controller/Rest/Asynchronous/InputParamsResolver.php
@@ -95,6 +95,13 @@ public function resolve()
95
$this->requestValidator->validate();
96
$webapiResolvedParams = [];
97
$inputData = $this->request->getRequestData();
98
+
99
+ $httpMethod = $this->request->getHttpMethod();
100
+ if ($httpMethod == \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_DELETE) {
101
+ $requestBodyParams = $this->request->getBodyParams();
102
+ $inputData = array_merge($requestBodyParams, $inputData);
103
+ }
104
105
foreach ($inputData as $key => $singleEntityParams) {
106
$webapiResolvedParams[$key] = $this->resolveBulkItemParams($singleEntityParams);
107
}
0 commit comments