devel:httpclient
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
devel:httpclient [2009-02-08 17:41] – spelling 84.186.80.170 | devel:httpclient [2010-01-08 13:07] – made code snippets work kazmiya | ||
---|---|---|---|
Line 21: | Line 21: | ||
<code php> | <code php> | ||
- | $http = new DokuHTTPClient() | + | $http = new DokuHTTPClient(); |
- | $data = $http-> | + | $data = $http-> |
echo $data; | echo $data; | ||
</ | </ | ||
Line 31: | Line 31: | ||
// post data can be passed as associative array | // post data can be passed as associative array | ||
$send = array( | $send = array( | ||
- | 'q' => ' | + | 'p' => ' |
- | } | + | ); |
- | $http = new DokuHTTPClient() | + | $http = new DokuHTTPClient(); |
- | $data = $http-> | + | $data = $http-> |
echo $data; | echo $data; | ||
</ | </ |
devel/httpclient.txt · Last modified: 2023-09-16 00:53 by Klap-in