Skip to content

Commit a848923

Browse files
author
Luka Zitnik
committed
TSMD-7652 enable http put requests
1 parent 4603fe3 commit a848923

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

RELEASE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.2.1
2+
3+
- enable http put requests
4+
15
2.2.0
26

37
- re-brand Auto Verify to App Verify and refactor associated names

src/rest/RestClient.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,20 @@ function get (...$args) {
165165
return $this->execute("GET", ...$args);
166166
}
167167

168+
/**
169+
* Generic TeleSign REST API PUT handler
170+
*
171+
* @param string $resource The partial resource URI to perform the request against
172+
* @param array $fields Query params to perform the DELETE request with
173+
* @param string $date The date and time of the request
174+
* @param string $nonce A unique cryptographic nonce for the request
175+
*
176+
* @return \telesign\sdk\rest\Response The RestClient Response object
177+
*/
178+
function put (...$args) {
179+
return $this->execute("PUT", ...$args);
180+
}
181+
168182
/**
169183
* Generic TeleSign REST API DELETE handler
170184
*

0 commit comments

Comments
 (0)