ERROR with OMIM API: Can't include more than one parameter via curl
0
0
Entering edit mode
7.1 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!

curl OMIM API unix terminal • 1.4k views
ADD COMMENT

Login before adding your answer.

Traffic: 2495 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6