Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 524cb14

Browse files
committed
extended the readme
1 parent 21dc737 commit 524cb14

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,17 @@ $checkPageContent = new GuzzleHttpService(
448448
200,
449449
'<title>Hello World</title>'
450450
);
451+
452+
// Check that the post request returns the content
453+
$checkPageContent = new GuzzleHttpService(
454+
'www.example.com/user/update',
455+
array(),
456+
array(),
457+
200,
458+
'{"status":"success"}',
459+
'POST',
460+
array("post_field" => "post_value")
461+
);
451462
````
452463

453464
### Memcache

0 commit comments

Comments
 (0)