Skip to content

Commit 9c0e64b

Browse files
committed
fix documentation
1 parent a07a2f8 commit 9c0e64b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/sphinx-guides/source/api/dataaccess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Basic access URI:
105105

106106
Example ::
107107

108-
POST http://$SERVER/api/access/datafile/:persistentId?persistentId=doi:10.5072/FK2/J8SJZB&signed=true -d '{"guestbookResponse": {"name": "My Name", "email": "myemail@example.com", "institution": "Harvard","position": "Staff", "answers": [{"id": 123,"value": "Good"},{"id": 124,"value": ["Multi","Line"]},{"id": 125,"value": "Yellow"}]}}'
108+
curl -X POST -H 'Content-Type:application/json' -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/access/datafile/:persistentId?persistentId=doi:10.5072/FK2/J8SJZB" -d '{"guestbookResponse": {"name": "My Name", "email": "myemail@example.com", "institution": "Harvard","position": "Staff", "answers": [{"id": 123,"value": "Good"},{"id": 124,"value": ["Multi","Line"]},{"id": 125,"value": "Yellow"}]}}'
109109

110110
Parameters:
111111
~~~~~~~~~~~

0 commit comments

Comments
 (0)