I am having a problem opening up an OrientDB database (orientdb-community-1.6.3).
I can access the server using $db = new OrientDB(...).
I can connect with my user admin using $dbConnected = $db->connect(...).
But opening my database, or checking…
I'm using AFNetworking 2 to perform a simple post operation:
[self.manager POST:@"person"
parameters:(NSDictionary *)parameters
constructingBodyWithBlock:nil
success:^(AFHTTPRequestOperation *operation, id responseObject) {
…
I copied the Luracast Restler "Hello World" Math Class from a Localhost to a remote server but it is not running.
http://www.sensorzapp.com/SensorZapp/test/index.php/math/multiply/2/3
Probaly the index.php is not connecting to the restler.php
Can…
I have a simple class for Restler (http://luracast.com/products/restler) like so:
class Team extends PostgreSQL {
function post($name) {
}
function players($teamId) {
}
}
If I run a curl GET, like so: curl…
I'm using Restler for building REST API on an Apache Server and I have some url rewrite problems.
Here are my directories :
/api:
/vendor
...
.htaccess (1st level)
/public :
/examples
/test
/src
.htaccess (2nd…
Hi Restler/Swagger friends
There is a problem when i post a url like: /home/ahmad/local
it returns the following error:
Request URL
http://s1/RestlerUpdate/complextypestests/_url/%2Fhome%2Fahmad%2Flocal
Response Body
[unable to parse as json;…
I have a weird problem here,
When using the restler api, it seems as if the headers Content Type resets even if I forcefully set it to something different...
It seems as if
$r = new Restler();
$r->setSupportedFormats('JsonFormat');
Always resets it…
Now that the UploadFormat class is available, I have one question about it :
Is the Upload format compatible with Restler annotations ?
If yes : how to use it ? "@param file $file" ?
If no : So I don't understand the meaning of this class. How to…
How can i define an array as a property in model class?
let me conclude what i did...
my model class that contains an array
class Author {
/**
* @var string {@from body}
* name of the Author {@required true}
*/
…
Hi Restler/Swagger friends,
I have a problem when trying to submit values of object that have inner object values to service side..
what happened that object values submitted but inner object values didn't submitted to the service side or submitted…
In the restler documentation https://github.com/Luracast/Restler/tree/master/public/examples/_010_access_control it is said:
"This example shows how you can extend the authentication system to create a robust access control system. As a added bonus…
I need to support different response formats like JSON and HTML, so far this was good with JSON response formats, now I tried to support HTML response from my APIs and facing issues.
I need to return JSON response from some of the APIs and HTML…
I use Restler as the OAuth Server, and implement iAuthenticate.__isAllowed in OAuthServer
public function __isAllowed() {
return self::$server->verifyResourceRequest(static::$request, null, $scope );
}
when i have multiple apis like
$r = new…
We are using Luracast Restler3 for our project. Some of our API calls return very large amounts of data. Might be a .CSV file of 100 00 lines or more, and of course takes even more memory as JSON or XML.
We will run out of memory in Restler…