freme-project / freme-project.github.io

Apache License 2.0
2 stars 0 forks source link

Wrong default value for Content-Type header #274

Closed jnehring closed 8 years ago

jnehring commented 8 years ago

The API documentation has the wrong default value for the Content-Type header. The default value is "text/turtle" for these endpoints:

Please fix this.

bgrusdt commented 8 years ago

I have changed the values. But for the first endpoint, dbpedia-spotlight/documents, we have plaintext as default body. @jnehring Shall I change this to turtle or do we want to keep it as it is?

jnehring commented 8 years ago

But for the first endpoint, dbpedia-spotlight/documents, we have plaintext as default body

Oh thats a bug. Please set default input format turtle in the documentation. To update the code I created https://github.com/freme-project/e-services/issues/25

bgrusdt commented 8 years ago

This is done. I changed the default example + content-type in the documentation to turtle.