302? after the success of flash laravel oauth2 certification

  1. the company is also a falsh developer. If the post request for authentication is successful when calling the API, if the Accept:application/json header is not added, the background will be redirected automatically. Why?
Apr.04,2021

how does laravel know you want json if you don't add a request header? If you think about it, if a background login interface, if the account password entered is normal, do not redirect to index, what should you say?

Menu