PUT request giving 400 Bad Request Error
问题 I'm implementing a Contact application using Google Contact API . Now I'm trying to update a contact by sending a put request in the below format PUT /m8/feeds/contacts/default/full/{contactId} If-Match: {lastKnownEtag} GData-Version: 3.0 Content-Type: application/atom+xml And I have the XML as a string that I'm going to send as a body of the request. This is my xmlString ( Body of the Request ) <?xml version="1.0" encoding="UTF-8"?> <entry xmlns:gd="http://schemas.google.com/g/2005" gd:etag=