Skip to content

Commit

Permalink
SharePoint#6636: Incorrect value for the content-type for Update list…
Browse files Browse the repository at this point in the history
… item - updated the doumentation with the correct value
  • Loading branch information
mahajangaurav committed Jan 30, 2021
1 parent 2cd7dba commit 5a5ed8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ The following example shows how to update a list item.
POST https://{site_url}/_api/web/lists/GetByTitle('Test')/items({item_id})
Authorization: "Bearer " + accessToken
Accept: "application/json;odata=verbose"
Content-Type: "application/json"
Content-Type: "application/json;odata=verbose"
Content-Length: {length of request body as integer}
If-Match: "{etag or *}"
X-HTTP-Method: "MERGE"
Expand Down

0 comments on commit 5a5ed8b

Please sign in to comment.