From 893f5b814720d029100a46f2a907519b045233f0 Mon Sep 17 00:00:00 2001 From: AJ Rice <53190766+ajrice6713@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:16:44 -0400 Subject: [PATCH] `post` -> `put` --- src/Voice/Controllers/APIController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Voice/Controllers/APIController.php b/src/Voice/Controllers/APIController.php index 692b005..f5069da 100644 --- a/src/Voice/Controllers/APIController.php +++ b/src/Voice/Controllers/APIController.php @@ -295,7 +295,7 @@ public function modifyCallBxml( Request::timeout($this->config->getTimeout()); // and invoke the API call request to fetch the response - $response = Request::post($_queryUrl, $_headers, $body); + $response = Request::put($_queryUrl, $_headers, $body); $_httpResponse = new HttpResponse($response->code, $response->headers, $response->raw_body); $_httpContext = new HttpContext($_httpRequest, $_httpResponse);