The Services module provides a standardized solution for integrating external applications with Drupal.

learn more… | top users | synonyms

1
vote
1answer
20 views

how to enable CORS in Drupal 6?

I want to use services 3 module to create node of a content type in my Drupal 6 website. I have enabled Services 3 module and configured the Rest Server properly. But when I make a post call to it, ...
0
votes
0answers
15 views

Rest call with GET or POST call to drupal 6 gets converted to call with method OPTIONS and the calls fail

I am working on a Drupal 6 website. I want to use Services module on nit to create node of particular content type from a Sencha app making a Rest call with POST method. I took following steps: ...
2
votes
0answers
47 views

Post request to create node in drupal 6 from external site does not create node but returns HTTP 200 ok status [closed]

I have been able to configure a rest Rest server from my Drupal 6 site using services 3.0 module. I am able to make a get request successfully with an http response code 200 OK with the data related ...
0
votes
0answers
29 views

Handle an incoming POST in Drupal (not a form, an incoming external request)

I'm trying to get a handle on the best way to handle Mandrill incoming webhook requests, which are externally defined and not in a format that would normally be handled by the Services module or other ...
0
votes
1answer
24 views

unable to get custom service to return result using services module

I'm learning about web services and implementing it in drupal 6 and am trying to use Services module with its REST server for implementing a web service to add a user. Since there is an existing ...
0
votes
0answers
51 views

7 - Update a user with services

I'm using Drupal 7 and the services module and I'm trying to update a user profile using PHP & Curl. Do I always have to login before sending a "PUT/update" ? This is my code so far : <?php ...
-1
votes
0answers
25 views

create multiple node using services module [closed]

Does anyone have an idea how to create multiple node using services module or any method in Drupal 7 ? The node creation is using Services module. But don't get the answer how to make it multiple ...
0
votes
0answers
18 views

rest call to drupal 6 services in javascript

I am using services module for the first time on my Drupal 6 site. I created the services successfully and tested them in Mozilla Firefox's Rest client. For example : ...
1
vote
0answers
23 views

Login to Drupal website from external website through Webservice module

I have a drupal website say www.example.com I have created a REST service service1 using service module. So i am able to authenticate the user by posting post data username and password to ...
0
votes
0answers
23 views

REST Login Problem [migrated]

I am trying to login to my Drupal website through android app and when i give URL as the end point to access and pass the username and password then my code gets stuck in making the post connection. I ...
0
votes
0answers
19 views

OG services add new group

I want to use Organic groups Services module to add by PHP new Organic Group node. I wanted to do it in this way: $opts = array('http' => array( 'method' => 'POST', ...
1
vote
2answers
67 views

Create a node using services with PHP

I want to add a new page node using drupal services and REST server. $postdata = http_build_query(array( 'type' => 'page', 'title' => 'aaa', 'field_test[en][0][value]' ...
-1
votes
1answer
37 views

How to integrate TaskRabbit with drupal? [closed]

I have a custom module for a donation center, and there is a form to fill out. I want to send to TaskRabbit a request to get someone to deliver the donation. TaskRabbit API support and general support ...
0
votes
0answers
36 views

Services get users email address

I am trying to do the following thing: -> Authenticate a user against Drupal. -> Get all information about user (including email address!) So far I have tried to use the Drupal module services for ...
1
vote
0answers
26 views

Updating a Node's FID from file_usage_list

Alright, so this is a bit of an abstract concept; however, I'll give it a shot in accurately depicting the scenario. I am trying to automate content creation from a production environment down to a ...
1
vote
0answers
30 views

replicating couchdb with drupal

I have a project where I would use DRUPAL as an internal facing administration system. May even be used as a Client facing solution. But it would NOT be PUBLIC facing. My reason is that I want to use ...
1
vote
1answer
46 views

what does the 'debug mode' on Services actually do?

Each Services endpoint has an option for 'debug mode'. What does this actually do?
0
votes
0answers
32 views

Drupal Services Returning “Missing Schema”

I have a website with a production and staging server set up (mysite.com and staging.mysite.com). At the moment they are both running the exact same code. Over at another application, I post to ...
1
vote
0answers
30 views

how to programming save a node with tags

I want to use drupal as my webservices, so I develop a module to implement hook_services_resources. I use postman (chrome's extension) to post data to drupal. var ...
1
vote
2answers
60 views

How to retrieve all nodes for a taxonomy term using Services?

I want to retrieve all the nodes associated with a given taxonomy term (field_term) using HTTP GET. I have tried: curl -v http://myserver/endpoint_path/node?parameters[field_term]=1 but I get an ...
0
votes
0answers
45 views

How do I add and existing amazon s3 file through Drupal services?

I'm uploading files to amazon S3 (not using Drupal). I would like to take the filepath, and create a new file via Drupal services. I'm using the amazons3 module. Is there a way to do this with the ...
0
votes
0answers
30 views

Drupal Custom Service Resource Param

Until now I have been using 'source' => array('path' => 0), To receive input for the API. I am trying to use the 'param' type but I am unable to get it to receive any input. I have tried both ...
0
votes
1answer
79 views

Services Module - Access Denied for User Admin

I'm trying to get a REST server going with Services, testing locally. It seems like things are running, but I'm denied from using any of the resources, even as an admin! I'm trying to follow the ...
1
vote
1answer
75 views

Outputing a json file in drupal 6

I'm linking an android app with a drupal 6 server. Basically the app should be able to request information from the server to sync data and other simple functions. JSON is our preferred way of ...
1
vote
0answers
119 views

500 Internal Server Error Services REST JSON Content

I am retrieving JSON from my Drupal Site to show content on an external Device. I am using Drupanium/REST/Services to do so. Now the problem is weird. When I try to access this URL, it works fine:- ...
1
vote
0answers
61 views

Services module update date field

Hi i am using drupal services 3 module. Every thing is perfect except updating date field. I tried many ways to update that field but didn't get any solution. Is any core issue related to date field? ...
0
votes
1answer
32 views

Services Using views having search

I am using Drupal 6. and using services and view_service module . I have created a exposed filter view. here is screenshot for that view now i am using service module here is screen shot now ...
1
vote
1answer
240 views

Post AJAX JSON with session id

Using Drupal Services I am able to log in but each time I post a node it posts as anonymous. I get the session id and session name upon login but can´t pass it along with a POST no matter what i try. ...
-1
votes
1answer
122 views

Web services example [closed]

I am new to drupal web services. I would like to get a good tutorial and example for web service using drupal services. Please suggest to me some websites that explain these things in a simple way. ...
2
votes
2answers
104 views

REST won't work

On a Drupal6 installation I have the REST service enabled (6.x-3.3). All seems to setup correctly, but I cannot query any data and get always 404 Not Found. What is the correct URL for retieve node ...
2
votes
0answers
69 views

Services 3 Output alter hook

Are there any hooks to alter the Services modules output. For eg : If I get a result like this for a file object. { "fid": "132", "uri": "public:\/\/512dab4918036.jpg", "filename": ...
0
votes
0answers
14 views

Why is _node_resource_file_save_upload not executing correctly?

I've been trying to figure out why my upload from a mobile platform to drupal is failing. I don't get any errors, but the file is not save. I've traced it to an area of node_resources.inc. Inside ...
0
votes
0answers
28 views

get drupal instant changes for android service

i m building services for android in which i wanna achieve something like following, => when user is added/deleted/updated i need to send push notification on android device saying user has been ...
1
vote
1answer
45 views

encrypted fields

I am using Services to collect data from an application. I will store each user's key on their drupal profile, and want to match that key against a key submitted through services. I would like to ...
2
votes
0answers
24 views

Drupal Services returns javascript after results

I am using Services Views and have a view that returns the json array, plus a script tag (the default jQuery.extend(Drupal obj...). I do not want this jQuery.extend script to be added for a services ...
0
votes
1answer
40 views

Where place spyc library dependencies

I have a issue trying to activate REST SERVER from services. I need to add this library. I'm using drupal 7.19 on Ubuntu. Reading this question, I add the spyc.php in 'servers/rest_server/lib/' But ...
2
votes
1answer
148 views

drupal 7 + services 3 - inserting nodes with select fields

I'm using Drupal 7 + Services 3 to create nodes with POST and JSON. Everything works fine, except field types of select - entity reference select or plain text. The entity reference uses the ...
1
vote
1answer
79 views

Services 3 JSON format [null] at end of all result

I am using services module recently i have noticed that i am getting all responses along with [NULL] at the end. So my app dev team is unable to parse the JSON. What i am doing wrong ? What may be ...
1
vote
1answer
132 views

What is your way to get the fields information when using Services 3

I have a registration form with 50+ input fields. What is the best way to get form filed information to pass it to iPhone or Android developers to make a form in the mobile app? Currently i am doing ...
1
vote
2answers
130 views

How to access the raw content of a views field, for use with Services Views

I have a user that I want to expose to services. Using Services Views. I'm using fields as the format, and adding the "photo" field to my display. My issue is that when I view the service (as JSON). I ...
6
votes
2answers
488 views

How to save images using Services 3

I have found some very detailed tutorials about Services 3. I appreciate them very much here is a small list. http://drupal.org/node/1354202 How to add multiple images to a node using node.save ...
4
votes
2answers
55 views

Should I log the user out after calling an API using the Services module?

I am using Services 3.X to make API calls in my Drupal installation. In order to update a user I: Make an API call to log in with an account which has rights to modify users (I'm using an admin ...
2
votes
1answer
54 views

Content types accessible to a role

I have a requirement to return a list of content types accessible to a user in JSON format using services module. I have followed this approach: Used Content Access Control module to set the ...
0
votes
0answers
55 views

How to login with facebook using services

I work with the "services" module and I have to log a user with Facebook (maybe fb_connect module). I receive a fb token on post param and I want to get back a session cookie but I don't know how. ...
0
votes
1answer
50 views

How to make services node output of file to use external URL instead of public:// URI

I've got a basic web service defined in Drupal that returns JSON describing existing nodes on the server. Contained in the output is the key-value pair: "uri":"public://audio_snippets/01 ...
2
votes
2answers
120 views

Services Views not exposing thumbnail image url

I am trying to create a view which will be exposed as a service via Services Views module. I have only defined Default display for this view and added the following field to the list of Fields - ...
1
vote
0answers
197 views

Find node id by field value

I am loooking for the way to find a node by the value of custom field using XMLRPC. Here is more context: I am developing an application to integrate our software with drupal 7. The application is ...
0
votes
0answers
23 views

Default security settings overriding resource settings with the services_oauth module

I'm using Drupal 7 with the Services 3.x-dev and OAuth modules. I created an endpoint for Rest access and configured the default required authentication to be 3-legged authentication. then I changed ...
0
votes
0answers
84 views

Services 404 Error

I am not sure exactly what information I need to provide for this issue to make sense, so feel free to mention something that would help you help me in the comments. I have a Drupal 7 site running ...
1
vote
0answers
56 views

Pager information in services_views json response

Is there a suggested mechanism for retrieving pagination/pager information in a JSON response in a services_views configuration? I thought enabling the pager would give me something, but it does not. ...

1 2 3 4