I'm building a website with laravel and need to call an API controller method in jQuery.
I can do this with Ajax but is it possible to achieve without using Ajax or any get, post method.
I'm writing my script in view file under the script tag and want to call the controller method inside the document.ready function.