Browser sends JSONP requets to Laravel, Laravel returns the results to browser. In the brower console, I get the warning: I believe this is due to improper headers in the JSONP response? How should this warning be fixed? PHP Response::JSON($result) will return the usual JSON response I believe, not the JSONP variant with the callback function name wrapping around the