Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconciliation API does not accept POST requests #4009

Open
hauschke opened this issue Sep 20, 2024 · 0 comments
Open

Reconciliation API does not accept POST requests #4009

hauschke opened this issue Sep 20, 2024 · 0 comments

Comments

@hauschke
Copy link
Member

Describe the bug
The reconciliation testbench gives an error when trying with a VIVO reconciliation endpoint.

To Reproduce

  1. Go to ['...'](https://reconciliation-api.github.io/testbench/#/client/https%3A%2F%2Fvivo.tib.eu%2Ffis%2Freconcile.
  2. Search for something, e.g. "linked data" or "hauschke"
  3. On the right you will see Error: t.q0 is undefined

Expected behavior
The results should show up.

Environment (please complete the following information):

  • tested with VIVO version 1.14.0 and 1.15

Additional context
Feedback from @acka47:

  • On 29th of July this PR was merged: Use POST closes #64 reconciliation-api/testbench#69
  • $ curl -X POST "https://vivo.tib.eu/fis/reconcile" does not deliver valid JSON. There are curly brackets at the beginning and the end:
    ({"name":"VIVO Reconciliation Service","identifierSpace":"https://vivo.tib.eu/fis/individual/","schemaSpace":"https://vivo.tib.eu/fis/individual/","view":{"url":"http://vivo.tib.eu/fis/individual?uri={{id}}"},"defaultTypes":[{"id":"http://vivoweb.org/ontology/core#Role","name":"core:Role"},{"id":"http://vivoweb.org/ontology/core#AcademicDegree","name":"core:Academic Degree"},{"id":"http://purl.org/NET/c4dm/event.owl#Event","name":"event:Event"},{"id":"http://vivoweb.org/ontology/core#Agreement","name":"core:Agreement"},{"id":"http://vivoweb.org/ontology/core#Location","name":"core:Location"},{"id":"http://xmlns.com/foaf/0.1/Organization","name":"foaf:Organization"},{"id":"http://xmlns.com/foaf/0.1/Person","name":"foaf:Person"},{"id":"http://vivoweb.org/ontology/core#InformationResource","name":"core:Information Resource"}]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant