Questions tagged [drupal-services]

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

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

Service callbacks may be used with multiple interfaces like REST, XMLRPC, JSON, JSON-RPC, SOAP, AMF, etc. This allows a Drupal site to provide web services via multiple interfaces while using the same callback code.

56 questions
1
vote
1 answer

Sending Arguments to Drupal Views (JSON, cURL)

I'm trying to retrieve a view with the (Node)Date Created argument. However I don't seem to be able to get it to work right, when I send it though cURL. Here is my code: $method = 'views.get'; $hash = hash_hmac('sha256', $timestamp .';'.$domain…
SlateEntropy
  • 3,988
  • 1
  • 23
  • 31
1
vote
1 answer

Drupal 7 views of type Services fetches incomplete data

I have created a Service View using views module, where I have a field body of which the formatted as services raw. It is only showing me the first character in the body string (eg: if body string is "All men must die", It shows "A") shown as…
NIKHIL Gosavi
  • 47
  • 1
  • 5
1
vote
2 answers

Accessing currently logged-in Drupal user from Java application

I have Java application hosted on the same domain as Drupal website. This Java application gets client request form the browser (so I get access to all the cookies). Is it possible using cookies I get in Java application to check if client logged…
Dima L.
  • 3,443
  • 33
  • 30
1
vote
1 answer

Can't Register a user with drupal Services (Error Response 500 service unavailable)

Using, Drupal 7.x, Services 3.x. Everything is working, Login Getting all nodes logout Getting Tokens etc Only while registering a new user i get reponse 500 service unavailable ! Trying it like this, POST method to…
1
vote
0 answers

Editing an entity reference field using Drupal services

Following the example for node references using the auto complete widget, I could finally save reference to other nodes. Now, imagine the opposite, I want to remove a reference, what should the format for that be? I tried just remove sections from…
Lindstrom
  • 795
  • 1
  • 5
  • 10
1
vote
1 answer

I need quick clarification on drupal REST services

I have written many services resources on the DRUPAL, "n" number of API hit comes to the DRUPAL CMS and access the data in the DRUPAL database. My question is, when I hit service, Is DRUPAL CMS calling the bootstrap and verify every modules is…
Bharanikumar
  • 25,457
  • 50
  • 131
  • 201
1
vote
1 answer

Does Services module still need a key

I'm reading a book that suggests that you try to configure the Services module, you should see 3 tabs: Browse, Settings, and Keys. I'm working with the latest release and all I see is Browse and Settings. Anyone knows what happened to the Keys tab?…
Kamo
  • 3,547
  • 2
  • 19
  • 20
1
vote
0 answers

Upload an image from phonegap app to Drupal 7 using Drupal Service Module

I want to upload an image from Phonegap app to Drupal 7 backend using Drupal services module. for testing purpose i have done it with core php and every thing work correctly but i need to do the same using Drupal services module. I am doing a…
Shashi
  • 1,165
  • 5
  • 20
  • 39
1
vote
1 answer

How do i deal with my response object which corresponds to node ids?

Edit wording.. I am using a 3rd party library called Drupal-IOS-SDk to connect my Drupal website with my under development IOS app. I use a method to index nodes on my website and I am just wondering if anyone has any knowledge about how to deal…
1
vote
1 answer

How to pass the cookie with image url in drupal?

here i am passing the image url to the server to get the images. But my path is private so how can i pass the cookie with the image URL to get the image from the server ?
rupesh
  • 2,865
  • 4
  • 24
  • 50
1
vote
1 answer

Drupal node.save and JSONP

I am having an issue with call Drupal node.save using MooTool's JSONP. Here is an example. Here is my request: callback Request.JSONP.request_map.request_1 method node.save sessid 123123123123123 node {"type":"blog","title":"New Title","body":"This…
abritez
  • 2,616
  • 3
  • 29
  • 36
1
vote
0 answers

Lost user when calling Drupal REST service from Android with Restlet library

I'm making REST calls from Android app to the Drupal site. On Drupal site I have REST services developed using Services 3.0 module, on Android I'm using Java library Restlet 2.0. First I call service user/login, and I used received session ID and…
Tom Burger
  • 655
  • 8
  • 15
1
vote
1 answer

How to make call to drupal services module to filter by custom cck field?

I created taxonomy called "Business Type" with terms like below Restaurant Non Foodie Winery Beverage Corporate I created CCK called "Company" with one field term_reference type which record above taxonomy I want to access companies listing…
Android Guru
  • 23
  • 1
  • 5
0
votes
1 answer

Drupal custom service (services module)

I have registered a service, when I call it, the call itself works, but the data returned is "false". I don't know what I am doing wrong, and I can't find info about it. Can anyone help me out please ? function…
Nealv
  • 6,856
  • 8
  • 58
  • 89
0
votes
1 answer

invalid api key

I am investigating using the services module in Drupal 6 to get data from some custom views in JSON format. I followed an article at http://drupal.org/node/308629 and created a vb version of this project (pushed up to…