Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This How to describes how to implement AJAX into Laravel on the example of datatables

...

First create a Route in Routes or BaseRoute

Code example for creating a new routeImage Modified

This is the generic Route for the Datatables plugin,to generate a route for every Index-controller.

...

Go into Builder Tab and Select your HTTP Request Type, your Route to your controller method and a Content-type Key with Value application/json (your Window should look similar to the picture below)

How to setup postmanImage Modified

 

Info
This is just a short Description. A real world example will be added

Filter by label (Content by label)
showLabelsfalse
max5
spacesLAR
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("api","datatables","ajax","javascript") and type = "page" and space = "LAR"
labelsAJAX Datatables Javascript API

...

hiddentrue
Related issues