Day: November 26, 2021

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   >>

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

Simple Login via Unique ID Create a new Single Record fetch function inside the user.php file inside object folder and use the following code public function readSingleRecord($id) { $query = "select * from " . $this->table . "...
READ MORE   >>

Recent Comments

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