query
.Accept
header to application/sparql-results+xml
to get results in XML. Set it to application/sparql-results+json
to get results in JSON.callback
to your preferred callback function name. The default function name is callback()
. When using JSON-P, there is no need to set the Accept
header because the response will always be in application/javascript
.curl --location --request GET '//api.aucklandmuseum.com/sparql?query='
{}