C
C
Chamyys2018-08-20 18:04:55
JavaScript
Chamyys, 2018-08-20 18:04:55

How to create a POST request without clicking a button?

How can I pass a post request to the controller during js code execution, so that the user does not have to click anything? Thank you all in advance)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita Egorov, 2018-08-20
@Chamyys

Ajax?

F
Fat Lorrie, 2018-08-20
@Free_ze

Trigger a form event manually or a POST request using ajax ( XMLHttpRequest )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question