Create a button that triggers an API with post method
Create a button that triggers an API with post method

I will need to add a custom button that once is clicked it will trigger a post API to a URL eg Https://<IP/API/analysis with all filtered data (regardless paging). That server will analyze those data and may act accordingly. How the function inside my file will look like for this post API call in the script?
This discussion has been closed.
Replies
This example shows how you can use a jQuery event handler inside the table. You would then use $.ajax to create the POST event based on the row / button that was clicked on.
Allan