Skip to content

Commit 91db024

Browse files
Merge pull request SharePoint#5670 from bcameron1231/patch-9
Updating Create List Item Example
2 parents 434a066 + 315668c commit 91db024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sp-add-ins/working-with-lists-and-list-items-with-rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,8 @@ The following example shows how to create a list item.
498498
```http
499499
POST https://{site_url}/_api/web/lists/GetByTitle('Test')/items
500500
Authorization: "Bearer " + accessToken
501-
Accept: "application/json;odata=nometadata"
502-
Content-Type: "application/json"
501+
Accept: "application/json;odata=verbose"
502+
Content-Type: "application/json;odata=verbose"
503503
Content-Length: {length of request body as integer}
504504
X-RequestDigest: "{form_digest_value}"
505505

0 commit comments

Comments
 (0)