I'm currently writing a java program that reads tab-delimited text files via http. This is what I do:
String urlString = http://www.uniprot.org/mapping/?from=BIOGRID_ID&to=ACC&format=tab&query=1194477,116761,.....
BufferedReader reader = new BufferedReader(new InputStreamReader(new URL(urlString).openStream()));
Usually this works for me, but now I get
java.io.IOException: Server returned HTTP response code: 414 for URL: http://...
which means the URL is too long. Is there a solution other than sending multiple smaller requests?