First let me say that the new API Explorer in Restler is great. Very happy about its addition. Now, in typical fashion, let me complain about something that isn't working for me ...
The fact that Restler can return results in multiple formats is a…
I really like Restler on first blush but I wanted to make sure I could implement my requirements and my first attempt fell short but that's likely due to me not understanding it fully.
What I'd like to be able to do is have a set of families of…
When configuring Restler it suggests creating the following re-write rule:
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^$ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond…
Im having problems with multiple routs, some of them not working.
/**
*
* @url GET /fetch
* @url GET /fetch/lazyload/:lazy
* @url GET /fetch/:id/
* @url GET /fetch/:id/lazyload/:lazy
* @url GET /fetch/start/:offset/limit/:limit
* @url GET…
K, so I have something like this. I'm trying to figure out how to not escape the double quotes. I think this is restler doing it...but I haven't been able to find docs or hints in the restler code about what I need to change. If I do a…
I am currently writing an iOS App that uses RestKit to talk to an Api I have written in restler which resides at Api.guessthedistance.com.
At the moment none of the examples in Restler work along side my API they both just return a 404 error. I've…
I encountered a problem with routes cache of Luracast restler.
For instance, i have 2 urls:
/api/service/resale/getmapinfo
/api/service/precon/getmapinfo
They work with 2 classes correspondingly:
ResaleService
PreconService
When I reach the…
I can't seem to figure this one out.
The class:
class Assets {
function getOne($id) {
$asset = DBO_Asset::getOneByPublicId($id);
return $asset->id;
}
}
The index.php:
require_once 'restler/restler.php';
require_once…
I am using Restler 2.1.5 and i have a class with the index method protected.
protected function index($id){
//do something
}
I added new protected method but not able to call that method.
protected function method(){
//do stuff
}
When i call…
I would like to call a rest function of my api with the GET protocol but I didn't succeed to put the security key of restler as a post parameter.
example:
/index.php/myrestapi/method.json?name=test
post field : Array('key'=>'mykey')
$session =…
We're exploring the Restler framework. What we need is a custom route like:
[host]/:sessionid/{class}/{method}?param1=x¶m2=y
For example, the Settings method in the Game class:
I am using restler PHP API to host a REST service. I am having a problem with handling some European characters, otherwise it is working fine.
For example I have the string "Český rozhlas 1 - Radiožurnál" in a MySQL database. When the restler API…
I have a REST web service implemented with LuraCast Restler API. It has been working fine until now. Suddenly I am not getting JSON data in response of my requests to the service no more.
X-Debug always return the following notices with every…
I'm considering using Lucarast RESTler (http://luracast.com/products/restler/)
My PHP class has a method called 'solve' and it must accept an argument via POST
class Solver
{
function solve( $request_data )
{
...
}
If I simply name the…