...
Code Block | ||
---|---|---|
| ||
curl --header api-key:abcdef0123456789abcdef0123456789 \
--header Accept:application/json \
--request GET https://library.cdisc.org/api/mdr/products |
...
Code Block | ||
---|---|---|
| ||
$headers = @{} $headers.Add('api-key','key:abcdef0123456789abcdef0123456789') $headers.Add('Accept','application/json') $url = "https://library.cdisc.org/api/mdr/products" $result = Invoke-WebRequest -Uri $url -Headers $headers -Method GET Write-Output $result |
...