Send POST request to Laravel web.php route

I have a simple Vue app in which I am sending POST request with options … Read more Send POST request to Laravel web.php route

I have a simple Vue app in which I am sending POST request with options (table filtering variables) to the back-end. I want to be able to destructure the object and debug it in my TestController in Laravel 8, so I want to send the options to web.php via URL, not to api.php. Since options is an object, I cannot just drop it in the URL.

Ultimately I want to be able to preview my Laravel respond in browser, so I know it returns correct data from server.

So how can I achieve this?

Source: Vue – Stack Overflow


Categories: NewsTags: , ,

Tags: , ,


Leave a Reply

Your email address will not be published. Required fields are marked *