What are you meant to return from a transport-read Function?
I am trying to add an authorization header to a axios call. Please help. Please improve the documentation. Thanks!
transport-read String | Function
The configuration that is used when the data source loads data items from a remote service.
If the value of transport.read is a function, the data source invokes that function instead of jQuery.ajax.
If the value of transport.read is a string, the data source uses this string as the URL of the remote service.