In laravel when you address the Accept Header with the following:
Accept: application/json
Then all returns will be given to you in JSON format. With the current headers we are getting error codes in HTML, this is bad for the app. This will throw so many unhandled exception warnings. Fix this immediately by adding Accept headers to all calls.
Most likely on all FETCH requests (maybe worth making a fetch wrapper so we can install all our appropriate headers)
In laravel when you address the Accept Header with the following:
Accept: application/json
Then all returns will be given to you in JSON format. With the current headers we are getting error codes in HTML, this is bad for the app. This will throw so many unhandled exception warnings. Fix this immediately by adding Accept headers to all calls.
Most likely on all FETCH requests (maybe worth making a fetch wrapper so we can install all our appropriate headers)