Current API request is returning and XML response instead of a JSON formatted response.
Test: using curl to talk directly with DBpedia, the accept header doesn't seem to trigger a JSON response as the documentation here suggests https://github.com/dbpedia/lookup#json-support (and I seem to remember functioning):
This was solved by adding format=json parameter to the request.
curl -i -H "Accept: application/json" https://lookup.dbpedia.org/api/search/KeywordSearch?QueryClass=person&MaxHits=5&QueryString=Keller&format=json
Current Behaviour
Current API request is returning and XML response instead of a JSON formatted response.
Test: using
curl
to talk directly with DBpedia, the accept header doesn't seem to trigger a JSON response as the documentation here suggests https://github.com/dbpedia/lookup#json-support (and I seem to remember functioning):Possible Solution
There appears to be a new API https://github.com/dbpedia/lookup#important-note
Or perhaps the problem is temporary
Steps to Reproduce (for bugs)
find a person
buttonSyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Maybe some more details in the forum.