PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

Allow comma-separated values for query parameters: source, target, uri #234

Closed IgorRodchenkov closed 8 years ago

IgorRodchenkov commented 8 years ago

We'd better make PC2 web service (graph and get queries) accept comma-separated values, because users who do not read carefully our web service API docs use like: /graph?source=ICAM1,C9,C1S,C7 instead /graph?source=ICAM1&source=C9&source=C1S&source=C7 (HTTP GET; some may also POST strings like "ICAM1,C9,C1S,C7" instead of using string array...). Also, there was (now - fixed in the sources) a bug in PCViz app that caused it sent such queries...