Skip to content

Instantly share code, notes, and snippets.

@antoniogarrote
Created September 8, 2016 16:12
Show Gist options
  • Save antoniogarrote/64ea9d5e18b2b52c0740af11be224d68 to your computer and use it in GitHub Desktop.
Save antoniogarrote/64ea9d5e18b2b52c0740af11be224d68 to your computer and use it in GitHub Desktop.
$ curl -iv -H "Accept: application/ld+json" http://dbpedia.org/resource/Mount_Everest
* Trying 194.109.129.58...
* Connected to dbpedia.org (194.109.129.58) port 80 (#0)
> GET /resource/Mount_Everest HTTP/1.1
> Host: dbpedia.org
> User-Agent: curl/7.43.0
> Accept: application/ld+json
>
< HTTP/1.1 303 See Other
HTTP/1.1 303 See Other
< Location: http://dbpedia.org/data/Mount_Everest.jsonld
Location: http://dbpedia.org/data/Mount_Everest.jsonld
# ...
<
* Connection #0 to host dbpedia.org left intact
$ curl -iv -H "Accept: text/html" http://dbpedia.org/resource/Mount_Everest
* Trying 194.109.129.58...
* Connected to dbpedia.org (194.109.129.58) port 80 (#0)
> GET /resource/Mount_Everest HTTP/1.1
> Host: dbpedia.org
> User-Agent: curl/7.43.0
> Accept: text/html
>
< HTTP/1.1 303 See Other
HTTP/1.1 303 See Other
< Location: http://dbpedia.org/page/Mount_Everest
Location: http://dbpedia.org/page/Mount_Everest
# ...
<
* Connection #0 to host dbpedia.org left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment