diff options
Diffstat (limited to 'lib/SparkPost/Resource.php')
-rw-r--r-- | lib/SparkPost/Resource.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SparkPost/Resource.php b/lib/SparkPost/Resource.php index 57dfd24..91038d5 100644 --- a/lib/SparkPost/Resource.php +++ b/lib/SparkPost/Resource.php @@ -20,7 +20,7 @@ class Resource public function post($payload, $header) { - echo $payload; + echo "<textarea>" . json_encode($payload) . "</textarea>"; return $this->sparkpost->request('POST', $this->endpoint, $payload, $header); } } |