Skip to content

Instantly share code, notes, and snippets.

@RubenVerborgh
Created March 7, 2017 16:23
Show Gist options
  • Save RubenVerborgh/a990e9ccd44cf726311d2b1eb5d4b637 to your computer and use it in GitHub Desktop.
Save RubenVerborgh/a990e9ccd44cf726311d2b1eb5d4b637 to your computer and use it in GitHub Desktop.
Conneg over RDF serializations
curl -H "Accept: text/html" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: text/turtle" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/json" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/ld+json" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/n-triples" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/trig" http://fragments.dbpedia.org/2016-04/en
curl -H "Accept: application/n-quads" http://fragments.dbpedia.org/2016-04/en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment