DEV Community

Discussion on: Laravel Api create Users,Posts with Role Permissions using Gates no packages

Collapse
 
saanchitapaul profile image
Sanchita Paul

Why after registration it's returning a welcome page. Neither it's showing any error?

Collapse
 
tanzimibthesam profile image
Tanzim Ibthesam

You must have made any error and are you using postman?

Collapse
 
lucianonascimento profile image
Luciano

try to set in your header a field "Accept" with this value "application/json"