Issue #41 new

Feature request: JSONP format option

Anonymous created an issue

It would be incredibly useful if a JSONP option could be added alongside those currently available, so that it would be possible to query a server running HTSQL and load the response into a javascript client. Due to same-origin policy this is currently not possible.

This would only entail adding a variable name and semicolon around the pre-existing JSON response. eg:

GET http://server/htsql/units.sort(lastseenaddr)/:jsonp

Response: var htsql_data = { "units": [...] };

Comments (1)

  1. Log in to comment