<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    My main error was that I compressed the also the json response (like
    the xml). Now I can work on! <br>
    <br>
    Thank you! <br>
    <br>
    <div class="moz-cite-prefix">Am 14.11.2012 12:53, schrieb Gonéri Le
      Bouder:<br>
    </div>
    <blockquote cite="mid:20121114115344.GA25331@tosh-r630.teclib.infra"
      type="cite">
      <pre wrap="">On Wed, Nov 14, 2012 at 11:24:45AM +0100, Mario Gzuk wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Ah... ok. I only have the 2.2.6 running now. I thought that it was allready
in there... Are there some prebuild packages for 2.3.x series? I only found:
<a class="moz-txt-link-freetext" href="http://prebuilt.fusioninventory.org/devel/2.2.x/">http://prebuilt.fusioninventory.org/devel/2.2.x/</a>
</pre>
      </blockquote>
      <pre wrap="">2.3.x is still in developement and not ready for production.
 
</pre>
      <blockquote type="cite">
        <pre wrap="">So if the deploy task is running pure json, I allready dont know how to
start a deploy task via the prolog or the <REPLY><RESPONSE> answer. Is there
some doc how to do this?
</pre>
      </blockquote>
      <pre wrap="">This is the documentation:
<a class="moz-txt-link-freetext" href="http://forge.fusioninventory.org/projects/fusioninventory-agent/wiki/API-REST-deploy">http://forge.fusioninventory.org/projects/fusioninventory-agent/wiki/API-REST-deploy</a>

This changes may help understand what's going on:

diff --git a/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm b/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
index 6ee5e7c..9421dba 100644
--- a/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
+++ b/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
@@ -65,6 +65,8 @@ sub send { ## no critic (ProhibitBuiltinHomonyms)
 
     my $response = $self->request($request);
 
+    print $response."\n";
+
     return unless $response;
 
     return eval { from_json( $response->content(), { utf8  => 1 } ) };


Best regards,
--
   Gonéri
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Fusioninventory-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fusioninventory-devel@lists.alioth.debian.org">Fusioninventory-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>