dodistyo / ci-rest-jwt

Codeigniter REST API using JWT for Authentication
MIT License
96 stars 84 forks source link

Wrong number of segments #4

Closed gillangit closed 4 years ago

gillangit commented 5 years ago

Why i do resolved this problem?

dodistyo commented 5 years ago

can you provide more details?

aacassandra commented 5 years ago

@gillangit halo mas gilang apa kabar

arifrohmadi commented 5 years ago

@gillangit set in header: Authorization:Bearer token_value (without quote) . Example Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIiLCJ1c2VybmFtZSI6ImRvZGkiLCJpYXQiOjE1NTUzMTI4MzAsImV4cCI6MTU1NTMzMDgzMH0.cvNdPScpB1stO8pB1hCyweLyf-_KJ23V5Eo2kSdpPMQ

hasanbasri1993 commented 4 years ago

same

gillangit commented 4 years ago

Thanks / Terima Kasih problem solved. [en] I apologize for the reply for so long, I forget how I solved the problem, but you can try a tool called Postman to debug the api rest.

[id] saya minta maaf atas balasanya yang begitu lama, saya lupa bagai mana saya menyelesaikan masalah tersebut, tetapi kamu bisa mencoba alat yang bernama postman untuk melakukan debug rest api

gillangit commented 4 years ago

@aacassandra ia mas? kenapa?