PHP CODEIGNITER INSTALLATION GUIDE

Test the Setup

Use tools like Postman to test the APIs:
1. User Registration:
  • URL: http://localhost/ci_example_project/api/register
  • Method: POST
  • Payload:
Copy code
ci_example_project/ {
"name": "John Doe",
"email": "john@example.com",
"password": "password123"
}
2. User Login
  • URL: http://localhost/ci_example_project/api/login
  • Method: POST
  • Payload:
Copy code
ci_example_project/ {
"email": "john@example.com",
"password": "password123"
}