Too Long; Didn't Read
I’ve recently started working on some small projects that will only use the backend portion of Laravel. One of the first things we bump into is the Authentication Exception that tries to redirect to <code class="markup--code markup--p-code">/home</code> or <code class="markup--code markup--p-code">/login</code>. That redirection becomes another exception: <code class="markup--code markup--p-code">InvalidArgumentException: Route [login] is not defined.</code>. Here is an extreme simple solution for when you only want to work with API Responses.