You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this library along with typeahead in a Laravel application.
In order to get things to work correctly with Laravel's auth API logic, you must send an accept header of "application/json".
I believe you should be able to set this in Bloodhound as a prepare function but looking at ajax.js none of those settings are ever used when sending the request apart from the URL (o.url).
Instead could the request logic be amended to include the correct accept header?
o.url
).--
The text was updated successfully, but these errors were encountered: