Category: PHP MySQL

Step by Step Guide of PHP REST API

Step 1: Create a Database Either create the database manually or from the phpmyadmin with any name like phprestapi Step 2 Create a Table Either create the table manually or from the phpmyadmin with any name like register in phprestapi...
READ MORE   >>

User Authentication using REST API and JSON Web Tokens (JWT) – Step 7

Login user with JSON Web Token Almost all the process is similar as we done in previous step for login user but now we do the same thing with JWT. For this we have to perform the following steps: Now create Login Function in user. php of...
READ MORE   >>

User Authentication using REST API and JSON Web Tokens (JWT) – Step 6

Create user with JSON Web Token Almost all the process is similar as we done in previous step to create the user but now we do the same thing with JWT. For this we have to perform the following steps: Download composer using command in api...
READ MORE   >>

User Authentication using REST API and JSON Web Tokens (JWT) – Step 5

Simple Login via Unique ID Create a new file login.php file inside user folder and use the following code <?php // required headers header("Access-Control-Allow-Origin: *"); header("Content-Type: application/json;...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved