APP iBank

Primeiramente criei um usuario, após isso execute:
First I created user, after that run:

php artisan db:seed

Após faça a instalação do Passport
After installing Passport

php artisan passport:install

API iBank

Nesta API você deve definir dois Headers conforme listado abaixo:
In this api you have to set two header as listed below:

Content-Type: application/json
X-Requested-With: XMLHttpRequest

Routers
  1. Singup

Screenshot-34


  1. Login
'headers' => [
    'Accept' => 'application/json',
    'Authorization' => 'Bearer '.$accessToken,
]
  1. List:

Screenshot-at-Aug-26-16-34-08

  1. Create:

Screenshot-at-Aug-26-17-00-11

  1. Show:

Screenshot-at-Aug-26-16-36-06

  1. Update:

Screenshot-at-Aug-26-17-01-58

  1. Delete:

Screenshot-at-Aug-26-17-04-14

Errors

Problema comum se executar migrate:fresh
Common problem if you run migrate:fresh

“message”: “Personal access client not found. Please create one.”,
“exception”: “RuntimeException”,
"file": "W:\\labs\\ibank\\vendor\\laravel\\passport\\src\\ClientRepository.php",
"line": 95,

Isso ocorre porque o cliente da API não existe, talvez você o tenha removido do banco de dados quando executou a atualização de migrações ou algo parecido. Você pode criar novamente os clientes da API manualmente ou simplesmente executar novamente o comando:
It occurs because the client for the API doesn't exists, maybe you removed it from the database when you ran the migrations refresh or something like that.You can create again the API clients manually or simply re-run the command:

php artisan passport:install