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
0
votes
1 answer

How do I configure Drupal restws and format a create request

I have configured the path in the module: function mymodule_restws_resource_info() { return array( 'mymodule_person' => array( 'label' => t('Person'), 'class' => 'PersonResourceController', 'menu_path'…
JAyenGreen
  • 1,385
  • 2
  • 12
  • 23
0
votes
1 answer

Can hit Drupal 7 REST resource endpoint but not with the CRUD operation added

I have a REST endpoint defined using the D7 services module. I have enabled the service and the CRUD operation. I have enabled the permission. When I hit the url for the endpoint, /myservice, I get a message Services Endpoint "myservice" has been…
JAyenGreen
  • 1,385
  • 2
  • 12
  • 23
0
votes
2 answers

Drupal xml-rpc issue

I developed an application in java, and I want to connect my application to my drupal site, I use the services module and drupal xmlrpc for web service. I tested on my local machine localhost and it works without problems, but when I try on the…
wal-78
  • 41
  • 1
  • 1
  • 4
0
votes
1 answer

Drupal 7 views service not return all the node fields

I am using drupal 7 and views service to return service for node but it is not working 100% here is a screenshot for my view and here is the result in the view but the expiry date not appear in the service link What is the problem with this view?
Man Mann
  • 423
  • 2
  • 10
  • 17
0
votes
1 answer

Upload an image to Drupal 7 / Services 3 from Titanium?

This must be close but I can't figure out what's causing the error. In my Titanium app, I have a Webview with a canvas element and this code: function getImageData() { return canvas.toDataURL('image/png'); } I am moving that data to the…
Joe Beuckman
  • 2,264
  • 2
  • 24
  • 63
0
votes
2 answers

What will be the post parameter when specifying vocabulary term?

I am trying to create a drupal node with a iphone app via rest server. I want to send the request to drupal as json. I have added a taxonomy vocabulary for categorizing the nodes. Specifying a category is mandatory when creating node. My request…
Shuaib
  • 779
  • 2
  • 13
  • 47
0
votes
2 answers

Show drupal node along with comments for iphone app

I am using a REST server to pull data from a drupal 6 site in JSON format, and then parse the JSON data inside an iphone application. I want to display a single, specific node, followed by all its comments. The node id will be given by the iphone…
Shuaib
  • 779
  • 2
  • 13
  • 47
0
votes
0 answers

how to delete files with rest web services

services version 7.x-3.1 drupal version 7.12 I upload file in Base64 encoding with rest services resource_path: file.json how can i delete file with rest services? i now how to delete node resource_path:node/nid.json, …
MaryPeak
  • 149
  • 5
-1
votes
1 answer

How do I resolve a "Fatal error" when creating a service?

I'm following this Drupal 8 module development 101 tutorial. It's between 37:15 to 45:14 on the YouTube video. I kept getting this error: Fatal error: Class 'Drupal\dino_roar\DinoServices\HelloGenerator' not found in…
2myCharlie
  • 1,587
  • 2
  • 21
  • 35
-1
votes
1 answer

X-CSRF-Token issue in ionic. Every time a different token is received

I have a backend with Drupal. Using Drupal Services to interact with. Which provides a rest server. Created endpoint named 'api'. Following sequence works in normal browser or any http client like postman :- example.com/api/login (works). api…
-1
votes
1 answer

cannot find DIOSConfig.h file in my XCode project

We are working on making an iphone app for a drupal website. We want to use XML-RPC for communication. We have added the DIOS sdk and AFNetwork library into a XCode project. According to two tutorials I viewed, the next step is to modify a file…
Shuaib
  • 779
  • 2
  • 13
  • 47
1 2 3
4