In my Restler API class I have an object defined like so (with lots of other params)
class PatchTaskObj extends TaskObj {
/**
* @var bool|null Whether or not this Task should be pinned to the top of the list {@required false}
*/
…
With relative newness to AJAX, and now just starting to learn PDO, the added level of ReSTler has me completely boggled. Modeling the below code from Restler samples, I don't know how to change the output format from what PDO is returning to what…
I have installed Restler on my local server to test and make some APIs for my project.
Api requests are handled via http://localhost/myproject/api/.
The problem is that everytime i try to make a request i get the following error:
{
"error": {
…
I would like to download a website (html) and write it to an .html file with node and restler.
https://github.com/danwrong/Restler/
Their initial example is already halfway there:
var sys = require('util'),
rest =…
Is there a way to 'copy and paste' the RC3 to my host without having to run 'make composer-install'? Unfortunately my host is lousy and doesn't allow for this.
Restler 2 was as easy to install as putting the files into a directory and making a few…
I’m fairly new to iOS programming, especially when it comes to webservices. I’m developing a App for academic purposes, and I need to communicate with my server, currently using AFNetworking2 and Restler/php, everything work when it comes to GET…
I want to restrict access to a method if a parameter has a specific value. Lets take for example this class:
Simple.php:
class Simple
{
function item($name)
{
if($name == "somerestricted")
{
// Here should…
I don't understand why this code doesn't work for me
var rest = require('restler');
var getResp = function(url){
var resp ="";
rest.get(url).on('complete',function(response){
resp = response.toString();
});
…
Hello Restler friends,
I'm currently trying to switch to Restler as our main Rest-Framework. What really motivated my decision was the swagger compliance. I find it quite important to have a nice autogenerated documentation for an ongrowing…
I am having some trouble with creating my API using Restler while using log4php. It seems to be a clash in the autoloaders but I am not certain. For reference I will try just showing the relevant code sections so it will hopefully help.
In…
I'm stuck here, in wamp I run everything and works fine, however, when I tried to install my api in a centos box, I always get a "Not Found" error.
I dont know what else to do!
Even the say/hello example fails...
Is there any specification of the…
I am using Restler 2.0 and I'm trying to add a new route based on the CRUD example
$o['GET']['author/:name/:email']=array (
'class_name' => 'Author',
'method_name' => 'getLogin',
'arguments' =>
array (
'name' => 0,
'email' => 1,
…