Closed SushilMallRC closed 3 months ago
Note:
Change Summary: The delete method in our HTTP client now includes a new $body parameter. This change allows users to pass a request body with DELETE requests.
public function delete($url = '', $queryParameters = [], array $headers = [], $options = [])
public function delete($url = '', $body = null, $queryParameters = [], array $headers = [], $options = [])
`$body = array( 'records' => array( 'id1', 'id2' ) );
delete( 'https://api.example.com/resource', $body, ['param1' => 'value'], // Query parameters ['Content-Type' => 'application/json'] // Headers );`
https://github.com/ringcentral/ringcentral-php/issues/134