Skip to content

Commit 952867b

Browse files
committed
Fix MIME type URL case sensitivity in curl commands
Changed profile URL from Specification/DDI-CDI to specification/ddi-cdi (lowercase) - Dataverse performs case-sensitive MIME type matching - Lowercase specification/ddi-cdi is required for previewer to trigger - Updated external tool registration examples in both 5.2 and 6.1 curl commands
1 parent b2508d9 commit 952867b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

5.2curlcommands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
873873
{"locale":"{localeCode}"}
874874
]
875875
},
876-
"contentType":"application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/Specification/DDI-CDI/1.0\""
876+
"contentType":"application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/specification/ddi-cdi/1.0\""
877877
}'
878878
```
879879

6.1curlcommands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
15151515
{"locale":"{localeCode}"}
15161516
]
15171517
},
1518-
"contentType":"application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/Specification/DDI-CDI/1.0\"",
1518+
"contentType":"application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/specification/ddi-cdi/1.0\"",
15191519
"allowedApiCalls": [
15201520
{
15211521
"name": "retrieveFileContents",

0 commit comments

Comments
 (0)