Biostar Beta. Not for public use.
ERROR with OMIM API: Can't include more than one parameter via curl
0
Entering edit mode
3.7 years ago
jorgeduran • 0

Hello everyone,

Since I got access to OMIM API for educational purposes I have been struggling with it while trying to use it via curl command.

I am trying to access a specific entry via my web browser using this URL: https://api.omim.org/api/entry?mimNumber=109400&include=text&format=python&apiKey=xxxxxxx with the key they have provided to me and I get exactly what I am looking for.

The problem comes when I try to open it via command line with curl (also wget is failing due to certificate authentication issues). If I do not include other parameters different than the mimNumber I get the title and other info which is not enough informative, but when I include the other parameters, it gives the same information and it stops waiting for some extra instructions. Could anyone explain why this happen and what can I do to solve it?

I leave you here the specific command I use:

curl --header ApiKey:xxxxxxxxx https://api.omim.org/api/entry?mimNumber=109400&include=text&format=python

Thank you, I will wait for your answers!

ADD COMMENTlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.3.1