I am trying to update a field value in a SharePoint document library through SharePoint REST API. I am successfully when I try using Fiddler. When I send a command through Java code, it gives 400 Bad Request. Appreciate any help.

Document Library: enter image description here

Success when trying with Fiddler: Fiddler Success

Wireshark capture (Failure with Java Code):

Wireshark Capture - failure

merged by Benny Skogberg Mar 13 '17 at 6:27

This question was merged with Getting HTTP error 400 Bad Request - Invalid URL when trying to update SharePoint field because it is an exact duplicate of that question.