add support for POST queries if GET returns 405 method not allowed
add support for APIs returning a direct JSONObject with the entity ID as key and its possible labels as array (e.g. http://robokop.renci.org:2434/docs)
Triggered only if searching for @id, uri and conceptid did not find anything
It will manage to resolve API returning the following JSON:
Improve getPossibleValuesFromApi:
405 method not allowed
Triggered only if searching for
@id
,uri
andconceptid
did not find anythingIt will manage to resolve API returning the following JSON:
Try it with the following template: http://localhost:37373/publish?1&template=http://purl.org/np/RAGEBhWnHEoCON2D539rwzyKDHwQjq8CeNOJo5e4fIL30
See it in action: