Arguments | Return value | REST (XML) example | REST (JSON) example | XML-RPC example
If calling by XML-RPC, note that this method takes 6 arguments, NOT a single struct, like most other methods in this API.
noneuser:123testmetestuser123This is a test post.
Trueuser:123:456POST /api/xml/blogger/newPost HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 122
appkey=none&content=%3Cp%3EThis+is+a+test+post.%3C%2Fp%3E&login=testme&password=testuser123&blogid=user%3A123&publish=True
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 50
<response>user:123:456</response>
POST /api/json/blogger/newPost HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 122
appkey=none&content=%3Cp%3EThis+is+a+test+post.%3C%2Fp%3E&login=testme&password=testuser123&blogid=user%3A123&publish=True
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 14
"user:123:456"
POST /api/xmlrpc HTTP/1.1
Content-Type: text/xml
Content-Length: 1264
<?xml version='1.0'?>
<methodCall>
<methodName>blogger.newPost</methodName>
<params>
<param>
<value><string>none</string></value>
</param>
<param>
<value><string>user:123</string></value>
</param>
<param>
<value><string>testme</string></value>
</param>
<param>
<value><string>testuser123</string></value>
</param>
<param>
<value><string><p>This is a test post.</p></string></value>
</param>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodCall>
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 338
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><string>user:123:456</string></value>
</param>
</params>
</methodResponse>