Kolab-integration with PHP

Discussion in 'PHP' started by PoPSiCLe, Jan 11, 2015.

  1. #1
    I'm trying to get to grips with interfacing with an existing Kolab-install, on an external server. I've been reading up on the API-docs, but the documentation is a bit... scarce, IMHO.

    It seems it should be simple, use cURL (for instance) to send off a $_POST or $_GET-request, with the relevant info embedded, and parse the result - but I can't for the life of me get any results.
    I'm not sure if it is because the external server run Kolab under https (it shouldn't matter?), or if I'm just doing everything wrong.

    Therefore, I was hoping someone had dabbled with Kolab earlier, and could give me some hints, point me to a decent online resource, or similar?
     
    PoPSiCLe, Jan 11, 2015 IP
  2. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #2
    ThePHPMaster, Jan 11, 2015 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Yeah, looked at it, seems there is something wrong somewhere - I'll experiment a little bit more, and see if I can get it to actually return information.
     
    PoPSiCLe, Jan 12, 2015 IP
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    Bah, just a missing return of error-codes. Not to mention that accessing a https-site from a http-localhost didn't really work well ;)
     
    PoPSiCLe, Jan 12, 2015 IP