hyperblast / beefweb

Web interface plugin for DeaDBeeF and foobar2000 players
MIT License
245 stars 31 forks source link

Allow to pass query string parameters via JSON #138

Open hyperblast opened 5 years ago

hyperblast commented 5 years ago

This is completely unreadable, but provides convenient way to encode arrays and other complex stuff using standard tools.

Example: GET /api/query?jsonq=<json_url_encoded>

Magic jsonq parameter would be handled the same way as JSON in POST body.

gitgetgot commented 5 years ago

Would you please explain, why/what for arrays should be committed to the API?

Or what could be "complex stuff" ?

I'm just curious....