I am not sure, have you looked in the log file of the drools server (catalina.out if you are running on tomcat)? Also have you configured the server to consume JSON rather than XML?<div><br></div><div><br><div class="gmail_quote">
On Fri, Jan 6, 2012 at 1:26 PM, kofibentum [via Drools] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=3638618&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


        Thanks a lot for your post. It works for me. But why does curl not return any message when I post the folowing json formatted command:
<br><br> curl  -v -H &quot;Content-Type: text/plain&quot; --data &quot;{\&quot;batch-execution\&quot;:{\&quot;commands\&quot;:[{\&quot;insert\&quot;:{\&quot;out-identifier\&quot;:\&quot;message\&quot;,\&quot;object\&quot;:{\&quot;org.test.Message\&quot;:{\&quot;text\&quot;:\&quot;Hello\&quot;}}}},{\&quot;fire-all-rules\&quot;:\&quot;\&quot;}]}}&quot; <a href="http://localhost:8080/drools-server/kservice/rest/execute" rel="nofollow" link="external" target="_blank">http://localhost:8080/drools-server/kservice/rest/execute</a> 
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638561.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638561.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Sending requests to the Drools Execution Server from an external source, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&amp;breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638618.html">Re: Sending requests to the Drools Execution Server from an external source</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>