Create user folder and Create a new file called create_user.php and Following steps to be performed for this 1. We need to set headers on this new file so that it will only accept JSON data from a specific URL. 2. Connect to database and... READ MORE >>
How to check output using POSTMAN Step 1 : To test for the successful creation of a data, open POSTMAN Step 2 : Fill the below URL and use POST method while inserting data in DB ... READ MORE >>
Create the user object class Create the objects folder inside api folder and create a new file called user.php <?php // 'user' object class User { private $conn; private $table =... READ MORE >>
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 >>
Recent Comments