Sorry this is comming late.
Can you share what you've done so far? Whats the issue with routing?
Sorry this is comming late.
Can you share what you've done so far? Whats the issue with routing?
I'm interested in how you've implemented this, it would be helpful to provide support for Rest Controllers within TI Core.
Is there any documentation about how to add a REST service in the code?
I am trying to add this feature using this project
https://github.com/chriskacerguis/codeigniter-restserver
but seems that routing is not working. Any suggestion?
HI Sam, I tried to add https://github.com/chriskacerguis/codeigniter-restserver this to TI app. 1. I've created controller on main directory main/controlller/api/sample.php with the sample code on rest server repo. 2. [font=-apple-system, BlinkMacSystemFont,]application/libraries/Format.php[/font][font=-apple-system, BlinkMacSystemFont,] and [/font][font=-apple-system, BlinkMacSystemFont,]application/libraries/REST_Controller.php > ti/system/libraries [/font] 3. [font=-apple-system, BlinkMacSystemFont,]application/config/[/font][font=-apple-system, BlinkMacSystemFont,]rest.php to ti/system/[font=-apple-system, BlinkMacSystemFont,]tastyigniter/config/[/font][/font]sampoyigi wrote Sorry this is comming late. Can you share what you've done so far? Whats the issue with routing?
[font=-apple-system, BlinkMacSystemFont,][font=-apple-system, BlinkMacSystemFont,]When I tried to access url like this localhost/samplesite/api/news, I got this error on php_error_log[/font][/font]
PHP Fatal error: Call to a member function helper() on null in .../system/libraries/Form_validation.php line 147 Any Suggestion?
Can you please share it to bhaida7@gmail.comsandydillerao@gmail.com wrote Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share
Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share
Hi, I am interested on this, could you please share to pablo.passera@gmail.com?koushikbasu wroteCan you please share it to bhaida7@gmail.comsandydillerao@gmail.com wrote Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share
Regards, Pablo
Please share the details to ashief.k@gmail.com i would like to know about thissandydillerao@gmail.com wrote Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share
Please share the details to mahiraaz0786@gmail.com i would like to know about this