Query datatable from rest api without pre-defining the table in html
问题 I would like to query a JSON via post request from a rest API: http://localhost/post1 param1='1' that returns the following: { "json_table": [ { "date": 123, "test": "hello2" }, { "date": 19, "test": "hello" }, } and it should then be automatcially populated into a jquery datatable, a little bit how it is described here: $('#myTable').DataTable( { ajax: '/api/myData' } ); What I don't understand is: How can I tell it to make a post request with a parameter How can I create the table without