[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: luaxmlrpc POST method
- From: "Pete Kay" <petedao@...>
- Date: Wed, 4 Jun 2008 18:27:49 +0800
Hi,
When making a call() from my luaxmlrpc client, I am getting an error from server saying that only POST method is supported.
> local a,b = xmlrpc.http.call ("http://username:password@localhost:8080/RPC", "show","data")
> print(a)
nil
> print(b)
<HTML><HEAD><TITLE>Error 405</TITLE></HEAD><BODY><H1>Error 405</H1><P>POST is the only HTTP method this server understands</P><p><HR><b><i><a href="" href="http://xmlrpc-c.sourceforge.net">http://xmlrpc-c.sourceforge.net">ABYSS Web Server for XML-RPC For C/C++</a></i></b> version Xmlrpc-c 1.14.99<br></p></BODY></HTML>
>
I thought call() is already doing the POST or is it not? Can anyone suggest how this problem can be resolved?
Thanks in advance for your help.
Thanks,
Pete