I'm in the process of fixing up an API, and I'd like to deprecate some old routes. I'm basically moving the endpoints around, but want to encourage new consumers to use the new routes. However, I need to support the old routes for a short period…
Let's say I have a base class and several derived classes. Base class implements a method that I want exposed on all derived classes, but I want to the swagger docs to reflect each class properly. What is the proper way to do this? Or do I have…
I am testing restful api's using restler and jasmine nodejs modules . I have created test files to test a single api call and test group of api calls that need input from each other . How can I provide the feedback / output from one such api call to…
Currently I'm creating a RESTful API using Composer packages. I have already found "luracast/restler" which is a very powerful package to create an API.
But I'm still looking for a package to manage my database and an authentication system. Here are…
What's the recommended / supposed way to use a custom base path for Restler when it's not deployed at the root of a domain / subdomain?
My site has its own routing and I'm using Restler 3.0 at here:
http://www.example.com/api/data/movies
When it…
When I run my GET /user with basic authentication (see class code below), the username and password are authenticated. But my xml response is:
Notice: Undefined index: BasicAuthentication in…
I've got an application which uses the DIC Pimple to manage dependency injection; that works great when calling certain methods via command line or internally. However, once I try to call them by an API provided by Restler, it begins throwing 500…
I am trying to use Restler in a PHP app api, but I am getting a 404 object returned on all requests. I have reviewed the following similar questions:
Restler Returns Always Not Found With Or Without Index.php
Restler always returns 404: Not…
First sorry for my bad English, I'm a French speaker ^^.
I'm working with Restler as webservice in my eZpublish framework.
When I have installed Restler, I have installed Composer too.
In the index file in witch I use Restler methods, and API…
I would like to have an authenitcation class and also have my APIS versioned without having to duplicate my security code.
I have setup restler and added the following to index.php;
Defaults::setProperty('useUrlBasedVersioning',…
Restler 3.0.0rc6.
I have setup a simple REST service in Restler in my local development environment. When I have moved to test server, Restler cannot find ANY route.
I have the projects in sync with git via a remote host. I have just pulled the…
I'm trying to make a GET with a Cookie but it's not working in my node.js program. However, the GET works fine from POSTman in chrome. Why could this be? The error I get back is 'Access denied for user anonymous'. I believe that's because this…
I am using restler with NODE.JS to obtain data from a live feed. If I want to just display the whole feed to the screen it works beautifully, however I want to actually grab the feed and filter it down and only issue what is needed.
Here is the…
I have my own module (lets call it klinquist) that uses restler for its rest calls. Currently, I'm just extending it:
var rest = require('restler');
klinquist.prototype.rest = rest;
In my node app, I simply call…
Normally restler.post() takes a restler.file(...) object to send a POST. This works if you have the file path on the server.
For example:
//#############################################################################
// Video upload from file…