StaffAPI returning unreadable stuff

Discussion in 'Developing, APIs and extending' started by Marko Bratkovič, Mar 30, 2012.

  1. Marko Bratkovič

    Marko Bratkovič New Member

    Hi, hopefuly I will get an answer here...
    I'm loggin in users to our app via StaffAPI, sending XML to http://domain.com/something/staffapi/index.php?/Core/Default/Login like it's explained here: http://wiki.kayako.com/display/DEV/StaffAPI - Logging In

    But what I get from server is something like:
    �]���0��<�.�X�!�O�"�T�E(}z���7�;�늇�Ҫf�;�� P)���������s�ǯ8�Z�i��W�Q6�K6���~hD�K�QU�*Q�z�� �45l��a���>��dF����ݶ�Hdvx3���-;�;9�� �
    *�� �5=C�4]ES�AV������I4


    It does work normaly from 2 machines (different IPs), but won't work from our test server.
    I don't quite understand why Kayako doesn't return some error or whatever, but I won't go into this. Can someone tell me what to do to make this thing work and returning either succes or failure?
     
  2. Marko Bratkovič

    Marko Bratkovič New Member

  3. Jefferson Silva

    Jefferson Silva New Member

    same problem here....
     
  4. Jefferson Silva

    Jefferson Silva New Member

    I found the problem...

    In Admin Area -> Settings ->CPU Optimization & Server set "Compress Desktop Application Output" to "No"

    Best Regards,
    Jefferson
     
  5. Ritu

    Ritu New Member

    Yes Jefferson is right. Hi marko can you share you curl class
     

Share This Page