cytoscape / cyREST

Core App: REST API module for Cytoscape
https://github.com/cytoscape/cyREST/wiki
MIT License
30 stars 13 forks source link

Make command JSON result available via POST and GET when an HTTP header specifies JSON returns #38

Open dotasek opened 6 years ago

dotasek commented 6 years ago

@mikekucera reported this.

It could be more flexible to get commands to return JSON results when the HTTP content-type header specifies JSON. This way, a GET statement could provide JSON functionality as well as the POST.