Day: June 2, 2018

How to post array of data to the server in your Vue app

When you develop the Vue application you will have to post array of data to the REST API url given to you Suppose you are going to make a invoice with several products as shown in the following HTML code

Now I want to submit this HTML table Server I have update_products function inside […]

Read more

REST API route in Laravel redirect to login page

I have built the REST api for my Vue.js application and I have used the Laravel Passport authentication to authenticate the API end point I have the following code snippet in my routes/api.php file. It basically return array of post when I call the URL http://localhost/api/posts provides that you have correct authentication. I am calling […]

Read more