Cause: request class reference error
Solution:
change
use Illuminate\Support\Facades\Request;
to
use Illuminate\Http\Request;
Similar Posts:
- [How to Solve] Laravel Ajax request error: 419 unknown status
- [Solved] laravel Frame Error: Call to undefined method Dotenv\\Validator::make()”
- Proxy error :couldnot proxy request [How to Solve]
- Solution to the problem of missing URI path in chrome 85 + referer
- hessian http response code:411 [How to Solve]
- [Solved] Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors wi…
- “bug” IE8 ajax 25253338169no transport
- java.io.IOException: Server returned HTTP response code: 405 for URL:
- [Solved] Django REST Framwork Use HyperlinkedModelSerializer Error: `HyperlinkedIdentityField` requires the request in the serializer context
- [Solved] Unapp H5 Error: Access to XMLHttpRequest at ‘http://www.localtest.com/api/api/v1/job/getPositionList’…