<?php
    use Knuckles\Scribe\Tools\WritingUtils as u;
    /** @var  Knuckles\Camel\Output\OutputEndpointData $endpoint */
?>
```php
$client = new \GuzzleHttp\Client();
$url = '<?php echo rtrim($baseUrl, '/') . '/' . ltrim($endpoint->boundUri, '/'); ?>';
<?php if($endpoint->hasHeadersOrQueryOrBodyParams()): ?>
$response = $client-><?php echo e(strtolower($endpoint->httpMethods[0])); ?>(
    $url,
    [
<?php if(!empty($endpoint->headers)): ?>
        'headers' => <?php echo u::printPhpValue($endpoint->headers, 8); ?>,
<?php endif; ?>
<?php if(!empty($endpoint->cleanQueryParameters)): ?>
        'query' => <?php echo u::printQueryParamsAsKeyValue($endpoint->cleanQueryParameters, "'", " =>", 12, "[]", 8); ?>,
<?php endif; ?>
<?php if($endpoint->hasFiles() || (isset($endpoint->headers['Content-Type']) && $endpoint->headers['Content-Type'] == 'multipart/form-data' && !empty($endpoint->cleanBodyParameters))): ?>
        'multipart' => [
<?php $__currentLoopData = $endpoint->cleanBodyParameters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $parameter => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $__currentLoopData = u::getParameterNamesAndValuesForFormData($parameter, $value); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $actualValue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            [
                'name' => '<?php echo $key; ?>',
                'contents' => '<?php echo $actualValue; ?>'
            ],
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php $__currentLoopData = $endpoint->fileParameters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $parameter => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $__currentLoopData = u::getParameterNamesAndValuesForFormData($parameter, $value); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            [
                'name' => '<?php echo $key; ?>',
                'contents' => fopen('<?php echo $file->path(); ?>', 'r')
            ],
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        ],
<?php elseif(count($endpoint->cleanBodyParameters)): ?>
<?php if($endpoint->headers['Content-Type'] == 'application/x-www-form-urlencoded'): ?>
        'form_params' => <?php echo u::printPhpValue($endpoint->cleanBodyParameters, 8); ?>,
<?php else: ?>
        'json' => <?php echo u::printPhpValue($endpoint->cleanBodyParameters, 8); ?>,
<?php endif; ?>
<?php endif; ?>
    ]
);
<?php else: ?>
$response = $client-><?php echo e(strtolower($endpoint->httpMethods[0])); ?>($url);
<?php endif; ?>
$body = $response->getBody();
print_r(json_decode((string) $body));
```
<?php /**PATH C:\Users\corbital\Downloads\codecanyon-orVCxsZW-whatsmark-whatsapp-marketing-and-automation-platform-with-bots-chats-bulk-sender-ai\main-files\upload\upload\vendor\knuckleswtf\scribe\resources\views\partials\example-requests\php.md.blade.php ENDPATH**/ ?>