Hello!
Help me please. I need to make my request to the database when deleting the post. Because removing the post works through ajax to the address action="ajax/api/node/deleteNodes", then I could not get the POST data to make my request.
Tell me, what should I do? I want that when I click on the DELETE button in this form in the screenshot, I could get my hidden fields through POST and make any query in the database.
Screenshot: https://i.imgur.com/SqjHjDA.jpg
Do I need to create an API product? And somehow through the post removal function get your POST-data? Thank you!
Help me please. I need to make my request to the database when deleting the post. Because removing the post works through ajax to the address action="ajax/api/node/deleteNodes", then I could not get the POST data to make my request.
Tell me, what should I do? I want that when I click on the DELETE button in this form in the screenshot, I could get my hidden fields through POST and make any query in the database.
Screenshot: https://i.imgur.com/SqjHjDA.jpg
Do I need to create an API product? And somehow through the post removal function get your POST-data? Thank you!
Comment