Questions tagged [codeigniter-restserver]

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

Dowloads :

REST SERVER

REST CLIENT

Tutorials

http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/

98 questions
0
votes
1 answer

Android volley chat with out Google Cloud Messaging

As the title of this topic says, is there a way to make in Android a live chat (sending/ receiving text messages) only using Volley? P.S. I'm not sure, but my server should be a Java Restful web service. Thanks in advance
0
votes
0 answers

How to create path for restservice in codeigniter(rest_controller)

I am trying to create a studentdb in restful service in codeigniter(rest_controller). I had copied files like Rest_contoller.php in libraries Format.php in libraries Rest.php in config and rest_controller_lang.php in languages-english when i am…
K L P
  • 107
  • 6
0
votes
0 answers

error 404 while accessing api

I am using PHP codeigniter and chriskacerguis/codeigniter-restserver. My directory structure is as below ├───cache ├───config ├───controllers <-- api.php │ └───api ├───core ├───helpers ├───hooks ├───language │ ├───bulgarian │ ├───english │…
fresher
  • 399
  • 4
  • 23
0
votes
1 answer

CodeIgniter Rest Server Integration

I have downloaded CodeIgniter Rest Server source code from github https://github.com/chriskacerguis/codeigniter-restserver. I have integrated as per readme document but i am getting an error of "Invalid API Key " with 403 Forbidden error when i call…
0
votes
1 answer

Process NSData in PHP

I have an NSData from an API request in this format: { lat: "8.893891"; long: "76.621742"; radius: 100; } How can I convert this to an array in PHP or get value of lat in PHP?
Haris
  • 126
  • 3
  • 11
0
votes
2 answers

Codeigniter 3 and codeigniter-restserver not working

We are using Codeigniter 3 and codeigniter-restserver in our new project. we have configured all the settings for Codeigniter-restserver. But we are getting error A PHP Error was encountered Severity: Notice Message: Undefined property:…
Jayendra Gothi
  • 682
  • 2
  • 11
  • 26
0
votes
1 answer

I can't get request payload when used $auth.signup(user)

I have a problem with satellizer api signup, when call the method $auth.signup(user) in my backend made with CodeIgniter I can't retrieve the values sent in user. I tried everything The methos of my library REST for options…
German
  • 413
  • 4
  • 15
0
votes
1 answer

How restserver and restclient working together in CodeIgniter

How to set it up I read the tutorial http://code.tutsplus.com/tutorials/working-with-restful-services-in-codeigniter-2--net-8814. But I am unable to get the idea, I want more details. I am very new to CodeIgniter and to API. I did the following…
0
votes
0 answers

local vs hosted restful service. angular and codeigniter restserver

previously, i have a question here about posting data to the Restful service in php: ionic restful authentication to POST and get data from php now i have a weird bug. it is only occur on my hosted api. but when i change the url to my…
0
votes
1 answer

Sencha touch 2,Uncaught TypeError: undefined is not a function

I am very new to Sencha touch, and I was wondering how i can send post data. I am facing two issues now. 1) I keep getting Uncaught TypeError: undefined is not a function when I attempt to get form data, and 2) how do I post the data to a remote…
0
votes
1 answer

Post Web Service in codeigniter using REST Server not working and showing error

I am new for codeigniter and I am using Phil Sturgeon’s REST server for "post" type of web service. althiugh my 'get' type web service is working perfectly. Below is my controller code for post web…
0
votes
1 answer

Shorter File Names For Controller CI

Are there any libraries or helpers that can allow me to have a class ControllerCommonDashboard which extends CI_Controller but have the file name just be dashboard.php
user3659372
0
votes
3 answers

Get the X-API-KEY value from header in Phil Sturgeon REST API

I have made an API using Phil Sturgeon REST Api which uses the codeignitor framework. Every request made to my api should have X-API-KEY:{api key} in the request header. Is there anyway I can get the api key of a request so that the api can identify…
Piya
  • 1,134
  • 4
  • 22
  • 42
0
votes
2 answers

CodeIgniter Rest Server fails with PUT method through cURL

Doing some tests with cURL as client and the CodeIgniter Rest Server. GET, POST and DELETE methods work perfectly but not PUT. Here is my client code for PUT. It's the same as POST (except for CURLOPT_CUSTOMREQUEST):
Syl
  • 2,232
  • 8
  • 34
  • 45
0
votes
2 answers

Codeigniter REST API, difference between PUT and POST

I am making an API for my site using Philip Sturgeon's REST server and i am in a little dilemma. I am not shure which action to use for edit and which for create. POST or PUT?
Beniamin Szabo
  • 1,909
  • 4
  • 17
  • 26