|
...
|
...
|
@@ -22,7 +22,7 @@ class SimpleRequest |
|
|
|
$this->method = $data['method'];
|
|
|
|
$this->header = $data['header'];
|
|
|
|
$this->cookie = $data['cookie'];
|
|
|
|
$this->rawContent = $data['rawContent'];
|
|
|
|
$this->rawContent = isset($data['rawContent']) ? $data['rawContent'] : '';
|
|
|
|
if ($this->method == 'POST') {
|
|
|
|
if (count($this->post) == 0) {
|
|
|
|
$data = json_decode($this->rawContent, true);
|
...
|
...
|
|