From: "Thade O'Connor" <thade.ocon...@gmail.com>
Date: Fri, 13 Mar 2009 19:39:02 +0000
Local: Fri 13 Mar 2009 19:39
Subject: Re: [amee-developer] PHP HTTP Request
Sorry, I'm not sure how that blank line got in there, it should be:
POST /auth HTTP/1.0
username=********&password=********
2009/3/13 Thade O'Connor <thade.ocon...@gmail.com>
> Hi J.J.
> I tried that request, and got the same result as you. This one works:
> POST /auth HTTP/1.0
> username=********&password=********
> the only difference is that the Host header is stage.co2.dgen.net rather than http://stage.co2.dgen.net.
> Regards,
> Thade
> 2009/3/13 jj <jjshea...@gmail.com>
>> I'm developing a website project using PHP, and the http request code
>> $header = POST /auth HTTP/1.0\nAccept: application/xml\nHost:
>> I got this code from the php with sockets example in the developers
>> This code is creating the connection between my website and the AMEE
>> How do I change this code to get the authorisation token from the AMEE
>> Thanks,
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||