User Authentication using REST API and JSON Web Tokens (JWT) – Step 4
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
http://localhost/rest-api-authentication/api/user/create_user.php
Step 3 : Click the “Body” tab. and Click “raw”.Enter this JSON value:
{
“name”:”shairy”,
“email”:”shairy@gmail.com”,
“password”:”shairy”
}
Step 4 : Now press Send to check the output or error