Open kernc opened 3 years ago
What are you using to implement the ELEXIS API. The reference implementation at https://github.com/elexis-eu/dictionary-service does not implement the X-API-Key aspect of the service.
I am not sure what the issue here is exactly then.
I successfully run the server with
./gradlew bootRun
, a server on localhost:8080.Separately, I run an Elexis REST API node on localhost:8000.
I issue:
In the other window, I see:
Calling a REST API node, this works:
But without X-API-Key header, a 422 error:
as reported by the
java.lang.RuntimeException
.Does Naisc ELEXIS/REST API possibly not support apiKey/X-API-Key header?