Trying to update data in sharepoint `list` `'Details'` the fields like `name`, `designation` by `listItemID` used below code but getting bad request error.

```
$("#edit").click(function () {

var Ownpass = $("#pass").val();
var Desig = $("#designation").val();

 var listItemID="IBM/1/2011";

      $.ajax({
        url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('Details')/items(" + listItemID + ")",
        type: "POST",
        data: JSON.stringify
        ({
            __metadata:
            {
                type: "SP.Data.DetailsListItem"
            },

            "Designation": Desig,

            "PassportNumber": pass

        }),
         headers:
        {
            "Accept": "application/json;odata=verbose",
            "Content-Type": "application/json;odata=verbose",
            "X-RequestDigest": $("#__REQUESTDIGEST").val(),
            "IF-MATCH": "*",
            "X-HTTP-Method": "MERGE"
        },
        success: function (data, status, xhr) {

        },
        error: function (xhr, status, error) {
            alert(error);
        }
    });
});

```

Seeking help here: Thanx in advance