Skip to content

Commit aef12eb

Browse files
committed
Add example in README
1 parent 51e340c commit aef12eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Method : get()
2727
Returns TRUE on success or FALSE on failure.
2828

2929
## Example of use
30-
$o = new HttpRequest;
31-
$o->setUrl('http://devraph.net/api.php?option=test'); // SETTING URL
32-
$o->setPost(array('login' => 'raph', 'password' => 'demo')); // SETTING REQUEST
33-
$o->setTimeout(15); // SETTING TIMEOUT
34-
$o->post(); // POST
30+
* $o = new HttpRequest;
31+
* $o->setUrl('http://devraph.net/api.php?option=test'); // SETTING URL
32+
* $o->setPost(array('login' => 'raph', 'password' => 'demo')); // SETTING REQUEST
33+
* $o->setTimeout(15); // SETTING TIMEOUT
34+
* $o->post(); // POST

0 commit comments

Comments
 (0)