File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ The API calls either return a `SparkPostPromise` or `SparkPostResponse` dependin
298
298
``` php
299
299
$sparky->setOptions(['async' => false]);
300
300
try {
301
- $response = $sparky->transmissions->get();
301
+ $response = ... // YOUR API CALL GOES HERE
302
302
303
303
echo $response->getStatusCode()."\n";
304
304
print_r($response->getBody())."\n";
@@ -314,7 +314,7 @@ Asynchronous an be handled in two ways: by passing callbacks or waiting for the
314
314
##### Wait (Synchronous)
315
315
``` php
316
316
317
- $promise = // YOUR API CALL GOES HERE
317
+ $promise = ... // YOUR API CALL GOES HERE
318
318
319
319
try {
320
320
$response = $promise->wait();
@@ -330,7 +330,7 @@ echo "I will print out after the promise is fulfilled";
330
330
331
331
##### Then (Asynchronous)
332
332
``` php
333
- $promise = // YOUR API CALL GOES HERE
333
+ $promise = ... // YOUR API CALL GOES HERE
334
334
335
335
$promise->then(
336
336
// Success callback
You can’t perform that action at this time.
0 commit comments