LeonLenclos/Ognon

Server : Multiple request at one

Closed this issue · 2 comments

The server do_POST method actually take {cursor:"id", args:{}} I want it to also take {cursor:["id1","id2"], args:{}} for calling a fun on multiple cursors.

Also,
Allow to request POST /, POST /control/, POST /control/controller and POST /view/ without specifying the function if the function to call is passed in data.

e.g.

POST /view/

{
  get_cursor_info:{cursor:[],args:{}},
  get_onion_skin:{cursor:[],args:{}}
}

wont do that.