1 | POST http://www.mysite.com/xmlrpc.php HTTP/1.1 |
---|
2 | Content-Type: text/xml |
---|
3 | User-Agent: XML-RPC.NET |
---|
4 | Host: www.mysite.com |
---|
5 | Content-Length: 306 |
---|
6 | |
---|
7 | <?xml version="1.0"?> |
---|
8 | <methodCall> |
---|
9 | <methodName>wp.getUsersBlogs</methodName> |
---|
10 | <params> |
---|
11 | <param> |
---|
12 | <value> |
---|
13 | <string>admin</string> |
---|
14 | </value> |
---|
15 | </param> |
---|
16 | <param> |
---|
17 | <value> |
---|
18 | <string>mypassword</string> |
---|
19 | </value> |
---|
20 | </param> |
---|
21 | </params> |
---|
22 | </methodCall> |
---|
23 | |
---|
24 | ------ |
---|
25 | |
---|
26 | HTTP/1.1 200 OK |
---|
27 | Content-Length: 2164 |
---|
28 | Content-Type: text/xml; charset=UTF-8 |
---|
29 | Server: Microsoft-IIS/7.5 |
---|
30 | X-Powered-By: PHP/5.3.28 |
---|
31 | Set-Cookie: bb2_screener_=1411005637+87.231.10.154; path=/ |
---|
32 | X-Powered-By: ASP.NET |
---|
33 | Date: Thu, 18 Sep 2014 02:00:36 GMT |
---|
34 | Connection: close |
---|
35 | |
---|
36 | <?xml version="1.0" encoding="UTF-8"?> |
---|
37 | <methodResponse> |
---|
38 | <params> |
---|
39 | <param> |
---|
40 | <value> |
---|
41 | <array><data> |
---|
42 | <value><struct> |
---|
43 | <member><name>isAdmin</name><value><boolean>1</boolean></value></member> |
---|
44 | <member><name>url</name><value><string>http://www.mysite.com/blog1</string></value></member> |
---|
45 | <member><name>blogid</name><value><string>1</string></value></member> |
---|
46 | <member><name>blogName</name><value><string>My Blog 1</string></value></member> |
---|
47 | <member><name>xmlrpc</name><value><string>http://www.mysite.com/blog1/xmlrpc.php</string></value></member> |
---|
48 | </struct></value> |
---|
49 | <value><struct> |
---|
50 | <member><name>isAdmin</name><value><boolean>1</boolean></value></member> |
---|
51 | <member><name>url</name><value><string>http://www.mysite.com/blog2</string></value></member> |
---|
52 | <member><name>blogid</name><value><string>2</string></value></member> |
---|
53 | <member><name>blogName</name><value><string>My Blog 2</string></value></member> |
---|
54 | <member><name>xmlrpc</name><value><string>http://www.mysite.com/blog2/xmlrpc.php</string></value></member> |
---|
55 | </struct></value> |
---|
56 | </data></array> |
---|
57 | </value> |
---|
58 | </param> |
---|
59 | </params> |
---|
60 | </methodResponse> |
---|