forked from kontrl/phpkore
Removing testRequest function from Kore class
This commit is contained in:
parent
43f296585b
commit
22a5288af5
1 changed files with 0 additions and 11 deletions
11
src/Kore.php
11
src/Kore.php
|
@ -26,15 +26,4 @@ class Kore
|
|||
$publicKey = PublicKeyLoader::loadPublicKey($key);
|
||||
return $publicKey->verify(json_encode($message), $signature);
|
||||
}
|
||||
|
||||
public function testRequest()
|
||||
{
|
||||
return [
|
||||
'get' => curlRequest($this->url . '/get', 'GET')['status'],
|
||||
'post' => curlRequest($this->url . '/post', 'POST', [], [], ['test' => 'test'])['status'],
|
||||
'patch' => curlRequest($this->url . '/patch', 'PATCH', [], [], ['test' => 'test'])['status'],
|
||||
'put' => curlRequest($this->url . '/put', 'PUT', [], [], ['test' => 'test'])['status'],
|
||||
'delete' => curlRequest($this->url . '/delete', 'DELETE')['status']
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue