A fully RESTful server implementation for CodeIgniter using JWT for Authentication
Add this to body multipart form :
username = dodi
password = dodi123
To test it, go Create post method from postman "http://localhost/ci-rest-jwt/api/main/test" and then you can attach that generated token you've got to the header authentication bearer token. see example bellow :
Authentication: Bearer "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIiLCJ1c2VybmFtZSI6ImRvZGk"
This project Using REST by Phil Sturgeon and Firebase/PHP-JWT. For more information :
https://github.com/chriskacerguis/codeigniter-restserver