WordPress.org

Make WordPress Core

Ticket #19774: test_call.txt

File test_call.txt, 927 bytes (added by maxcutler, 2 years ago)
Line 
1<?xml version='1.0'?>
2<methodCall>
3<methodName>metaWeblog.newPost</methodName>
4<params>
5<param>
6<value><int>1</int></value>
7</param>
8<param>
9<value><string>admin</string></value>
10</param>
11<param>
12<value><string>password</string></value>
13</param>
14<param>
15<value><struct>
16<member>
17<name>post_type</name>
18<value><string>post</string></value>
19</member>
20<member>
21<name>description</name>
22<value><string>This is test post using the XML-RPC API.</string></value>
23</member>
24<member>
25<name>mt_allow_comments</name>
26<value><int>1</int></value>
27</member>
28<member>
29<name>title</name>
30<value><string>Test post</string></value>
31</member>
32<member>
33<name>wp_slug</name>
34<value><string>test-post</string></value>
35</member>
36<member>
37<name>wp_author_id</name>
38<value><int>1</int></value>
39</member>
40</struct></value>
41</param>
42<param>
43<value><boolean>0</boolean></value>
44</param>
45</params>
46</methodCall>