Create a database connection file Open config folder and create a new file called database.php and place the following code. <?php class... READ MORE >>
Create a database · Either create the database manually or from the phpmyadmin with any name like restapi_db Create a table · Either create the table manually or from the phpmyadmin with any name like register in restapi_db... READ MORE >>
JWT is JSON Web Token that defines a way for securely transmitting information between different parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC... READ MORE >>
Session is used in a single-server application by session ID. A server will need to find a valid session ID on every HTTP request. If your application needs multiple servers, you cannot use session IDs for user authorization. JWT helps solve... READ MORE >>
Recent Comments