Create REST API with Laravel | API Token | Create API in PHP #2

preview_player
Показать описание
Laravel api, api with api token, secure api develop with laravel php, create api for mobile application easy and secure, create secure api with api token in laravel
Рекомендации по теме
Комментарии
Автор

I noticed. if you get the token and paste it to the browser the data display is different from the data of your database.

xxxx_
Автор

Hi Sanjay,

Really you have given good videos who are in need to start with Web-services in Laravel.
And go forward with data-base fetching, updating and deleting from db by api as well.

Thank you.

praveenmendegar
Автор

You are doing great just be more confident 😉

saurabhkum
Автор

and sir how to use post put and delete method in rest api you have the vedio then please give me link

preetisingh
Автор

hello sir ...in database api token is not created...if manual created the api token then does not create the api token value

preetisingh
Автор

yes sir maine yhi kiya hai but sir jb migrate hi nhi ho rha to new column kaise genrate hoga sorry sir but me laravel mai new hu to mujhe koi idea nhi maine same process follow kiya hai ...jaisa vedio mai hai ....but it not working means nt create the api token column in database...please help me

preetisingh
Автор

sir please upload the vedio rest api using post, put delete method??

preetisingh
Автор

php artisan migrate

In Connection.php line 664:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'length) not null, `password` var
char(255) not null, `remember_token` varchar(100' at line 1 (SQL: create ta
ble `users` (`id` int unsigned not null auto_increment primary key, `name`
varchar(255) not null, `email` varchar(255) not null, `api_token` varchar(l
ength) not null, `password` varchar(255) not null, `remember_token` varchar
(100) null, `created_at` timestamp null, `updated_at` timestamp null) defau
lt character set utf8mb4 collate utf8mb4_unicode_ci)


In Connection.php line 452:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'length) not null, `password` var
char(255) not null, `remember_token` varchar(100' at line 1

preetisingh