I try to use a script o get DOIs for a list of references. In addition to “query dot bibliographic”, I try to use “rows=2”, “select=title” and “mailto”. The script communicates with api dot crossref dot org via curl and sends one query string. My query is URI-encoded.
It seems, only the first parameter of the query string is used by the server. When I use “query dot bibliographic” as the firs parameter, I get the correct reference as the firs one, but all records for 20 references. When I use “rows=2” as the first parameter, I get two references unrelated to my (intended) query.
Strangely, when I copy and paste the respective URL into my browser, I do get the correct result (only 2 references, only titles, the queried one on top).