How to edit $request-url in middleware in Laravel 5.8 before it hits route API

前端 未结 0 906
-上瘾入骨i
-上瘾入骨i 2021-01-25 01:43

I\'m developing an API. I want to edit the incoming $request->url so it hits different routes based on the authorization. It should work for any kind of request (POST, GET ,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题