New Message: Problem with posting by API
webmaster at userland.com
webmaster at userland.com
Wed Jan 10 05:44:19 CST 2007
A new message was posted:
Address: http://manila.userland.com/discuss/msgReader$2234
By: kostya (kostya_fed2 at mail.ru)
I'm trying to make new post, using api
Send POST request to server (http://www.manilasites.com/rpc2)
with xml{
<?xml version="1.0" ?>
<methodCall> <methodName>manila.message.create</methodName>
<params>
<param>
<value>
<string>my at email.here</string>
</value>
</param>
<param>
<value>
<string>pass***</string>
</value>
</param>
<param>
<value> <string>http://www.manilasites.com/jetistyum</string>
</value>
</param>
<param>
<value>
<string>My TEST API post for News #2007-01-10 12:38:01</string>
</value>
</param>
<param>
<value>
<string>My Test message2007/01/10 12:38:01</string>
</value>
</param>
<param>
<value>
<string>text/plain</string>
</value>
</param>
<param>
<value>
<string>What should i put here?</string>
</value>
</param>
<param>
<value>
<string>0</string>
</value>
</param>
<param>
<value>
<string>0</string>
</value>
</param>
</params>
</methodCall>
}
But server returns message like "
faultString
Can't evaluate the expression because the name "http://www.manilasites.com/jetistyum" hasn't been defined
Whats wrong???
I'm novice in XMLRPC.. so perhaps made some mistakes.
Can somebody help me to resolve this problem?
This is a Manila site... http://manila.userland.com/.
More information about the Manila-Users
mailing list