mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-22 23:28:33 -04:00
12 lines
262 B
PHP
Executable File
12 lines
262 B
PHP
Executable File
<?php
|
|
|
|
$client = new http\Client;
|
|
$request = new http\Client\Request;
|
|
|
|
$request->setRequestUrl('http://mockbin.com/har');
|
|
$request->setRequestMethod('PROPFIND');
|
|
$client->enqueue($request)->send();
|
|
$response = $client->getResponse();
|
|
|
|
echo $response->getBody();
|