Soon, we’ll be announcing a fresh new marketplace for TastyIgniter developers.

  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Not Solved] REST Services

#1 victorromero Offline Newbie
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/codeig...restserver

but seems that routing is not working. Any suggestion?
#2 sampoyigi Offline 1 == 2
Sorry this is comming late.

Can you share what you've done so far? Whats the issue with routing?
#3 desci Offline Newbie
(30 Sep, 11:34 AM)sampoyigi Wrote: Sorry this is comming late.

Can you share what you've done so far? Whats the issue with routing?

HI Sam,
   I tried to add https://github.com/chriskacerguis/codeig...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. application/libraries/Format.php and application/libraries/REST_Controller.php > ti/system/libraries
   3. application/config/rest.php to ti/system/tastyigniter/config/

When I tried to access url like this localhost/samplesite/api/news, I got this error on php_error_log

    PHP Fatal error:  Call to a member function helper() on null in  .../system/libraries/Form_validation.php line 147
Any Suggestion?
#4 sandydillerao@gmail.com Offline Newbie
Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share
#5 koushikbasu Offline Junior Member
(23 Mar, 04:17 AM)sandydillerao@gmail.com Wrote: Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share

Can you please share it to bhaida7@gmail.com
#6 sampoyigi Offline 1 == 2
I'm interested in how you've implemented this, it would be helpful to provide support for Rest Controllers within TI Core.
#7 ppassera Offline Newbie
(23 Mar, 04:24 AM)koushikbasu Wrote:
(23 Mar, 04:17 AM)sandydillerao@gmail.com Wrote: Yes, i did RestApi with tesyigniter and its working.. if any one want it please send mail id i will share

Can you please share it to bhaida7@gmail.com

Hi, I am interested on this, could you please share to pablo.passera@gmail.com?

Regards,
Pablo
#8 ashief Offline Newbie
(23 Mar, 04:17 AM)sandydillerao@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 ashief.k@gmail.com i would like to know about this

Possibly Related Threads...

Thread / Author
Forum Jump:

Users browsing this thread: 1 Guest(s)