Closed (fixed)
Project:
Services
Version:
7.x-3.0-rc4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2011 at 09:55 UTC
Updated:
23 Jun 2015 at 14:32 UTC
Jump to comment: Most recent
Comments
Comment #1
kylebrowning commentedrequest.open('GET','http://www.mydomain.com/myendpoint/system/get_variable');
probably needs to be
request.open('POST','http://www.mydomain.com/myendpoint/system/get_variable');
since get variable is an action
Comment #2
casbar commentedI already tried evertything! It simply doesn't work! I do not know why!!
Maybe someone knows the reason!?
casbar
Comment #3
revnoah commentedDid you ever solve this?
Comment #3.0
revnoah commentedpath edits
Comment #4
lonaloreI have the same problem, I always get "Could not find the controller".
- REST server
- Endpoint: "api/v1"
Request URL: http://www.mydomain.com/api/v1/get/html
My implementation:
and my callback:
What is the problem? :/
Comment #5
kylebrowning commentedHey Lona, based on your custom resource 'get' is not an available array index.
Try 'retrieve', and take a look at http://cgit.drupalcode.org/services/tree/docs/services.services.api.php?...