From d03f5394dd5424f876a758d379214ea1fb2ac042 Mon Sep 17 00:00:00 2001 From: Eric Shore Date: Thu, 25 Apr 2024 14:15:30 -0500 Subject: [PATCH] Create request-status.php Add request-status PHP example --- .../Multipart Payload/request-status.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PHP/Endpoint Examples/Multipart Payload/request-status.php diff --git a/PHP/Endpoint Examples/Multipart Payload/request-status.php b/PHP/Endpoint Examples/Multipart Payload/request-status.php new file mode 100644 index 0000000..f8849a6 --- /dev/null +++ b/PHP/Endpoint Examples/Multipart Payload/request-status.php @@ -0,0 +1,23 @@ + 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' // Set the API key in the headers for authentication. +]; + +$request = new Request('GET', $request_status_endpoint_url, $headers); // Create a new HTTP GET request with the API endpoint and headers. + +$res = $client->sendAsync($request)->wait(); // Send the asynchronous request and wait for the response. + +echo $res->getBody(); // Output the response body, which contains the status information. +?>