HTTP/1.1 400 Bad RequestServer: GFE/2.0(....)Error 400 (Bad Request)400. That’s an error.Your client has issued a malformed or illegal request. That’s all we know.
您还会收到来自必应、Apple等的400 Bad Request,这些请求由AkamaiGhost提供服务。
var client = new JsonServiceClient(Settings.Default.ServiceAddress);var request = new GetClientRequest{Id = new Guid("2217239b0e-b35b-4d32-95c7-5db43e2bd573")};var response = client.Get<GetClientRequest, ClientResponse>(request);
as you can see, the GetClientRequest was encoded to the following query string
http://localhost/clients/GetWithResponse?type=GetClientRequest&data=%7B%22Id%22:%2217239b0e-b35b-4d32-95c7-5db43e2bd573%22%7D