Skip to content
Advertisement

How I can send POST request with data from table?

I want to send POST request with data which is stored in a HTML table. I’m using thymleaf.

I tried to send GET request with data for build table, but I didn’t get the response data from the table while using the POST request.

What is the problem?

JavaScript

model AnkiCardDto

JavaScript

DTO for response data from table

JavaScript

All code you look there: https://github.com/Teemitze/ankiFIll2

Thanks, for help friends.

Advertisement

Answer

It is easy to send a post request using the JS code below.

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement