Find IDs of terms
Demo
Dictionary Selection
Selected Unselected  
FMA
HPO
MAT
aaa
www
REST API for lookup
GET|POST
https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023

Example cURL command

1 GET
curl -G --data-urlencode labels="label1|label2" "https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023"
2 POST
curl -d labels="label1|label2" "https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023"
3 POST
curl -H "content-type:application/json" -d '["label1", "label2"]' "https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023"
4 POST
curl -H "content-type:text/plain" -d "label1|label2" "https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023"
5 POST
curl -H "content-type:text/plain" --data-binary @filename "https://pubdictionaries.org/find_ids.json?dictionary=UBERON-AE-2023"
  • In the case of 1, 2 and 4, either the Tab, or vertical bar ('|') letter can be used to delimit multiple labels.
  • In the case of 5, the newline letter also can be used to delimit multiple labels, which is convenient to read labels from a file. For a more detail, you are recommended to read the manual of curl.