Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 28, 2005, 6:41 am
rate this thread
I have a HTTP_Request webdav query against exchange that just isnt
working I have tried everything, the webdav query is correctly
formatted, my header or something must be incorrect, I have used the
same query with the tool
and it works but with my code below it does not? The headers appear to
be identical, and my code below works with a PROPFIND Query fine, but
a SEARCH query consistently comes back with a result code of 400.
The PHP Code to generate my query is:
SELECT "DAV:displayname", "DAV:contentclass"
FROM "https://webmail.test.com/exchange /"
WHERE "DAV:isfolder" = true
$req = &new HTTP_Request("https://webmail.test.com/exchange /");
$req->addHeader('User-Agent', 'Exchange Admin');