I want to make Ajax request to the controller from checkout page. The code I have in github and in my previous post were I did not specify that I want to make the ajax request from js file placed on checkout page. The current ajax request is displaying an error in console: jquery.js:9666 POST https://127.0.0.1:8443/checkout/vendor_checkoutshipping/index/htmlcreator 404 (Not Found).
Does anyone have any idea what might be wrong that the ajax request is not made?
I prefer not to use phtml file, unless I really need to (the reason for using would possible security threth). (My module currently does not need phtml file.)
url: 'vendor_checkoutshipping/index/htmlcreator'
in js file? Is that so?