I\'m sure I\'m doing something wrong here.
Making a call to a laravel route like so:
$.ajax({ type: \'POST\', url: \'api/search-scan\', headers: {