How to get the http request url that the .Net client libraries send to GCS?

18 views
Skip to first unread message

Redcats

unread,
Oct 11, 2012, 2:03:04 PM10/11/12
to gdata-dotnet-...@googlegroups.com
Hi,

We are using the .Net client libraries for Search API for shopping. We query our Google Commerce Server instance. We would like to log the http url that the request is sending to GCS. Is there a way to get this url? The URL would be like:


Code snippet:

            var service = new ShoppingService { Key = "XXXX" }; //API Key
            string query = "dress";
            var request = service.Products.List("cx:XXXX"); // CX Key: Search Engine Unique Id
            request.Q = query;
            request.Country = "us";
            request.Language = "en";
            ...
            ...
            // Log the http url that the request is going to send to GCS
            ...
            Products response = request.Fetch();

Thanks.
Reply all
Reply to author
Forward
0 new messages