I am trying to initiate a post request programatically.
Turbo.visit('documents/path', { data: { 'turbo-method': 'post' } });
This is not working, it triggers a GET request.
I am trying to initiate a post request programatically.
Turbo.visit('documents/path', { data: { 'turbo-method': 'post' } });
This is not working, it triggers a GET request.