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

learn more… | top users | synonyms

0
votes
0answers
7 views

Use Services module to send email?

I have a non-Drupal site that has a sign-up form. I'm using the Services module to submit user creation requests via ajax. This works very well. Now I need to add a secondary action that will send a ...
1
vote
0answers
18 views

Setting Drupal Image Field via Services, and image won't attach to node?

I'm uploading an image via my iOS app and setting a created node's image field to the image through Drupal Services. Everything appears to be correct (see uploaded photo from 'Recent Logs'). However ...
1
vote
0answers
23 views

Where can I start debugging php for the user/create action in the Services module?

I'm trying to create a user via the REST API. I was able to do it successfully using the REST Client Firefox plugin, but when I actually try to call the URL via code, I get no response. No errors, ...
0
votes
0answers
27 views

GENERATE PDF WEBFORMS DRUPAL [duplicate]

I istalled webform2pdf and tcpdf for download forms and i create form i cconfigure webform2pdf but when i Click in download pdf on the form that i was created i have a error say : Fatal error: Call ...
1
vote
1answer
12 views

privatemsg and services fully integration

Does there exist any module even sandbox or starting point module (not ublished on drupal.org) to help achieve privatemsg crud operations over services module.
0
votes
1answer
21 views

Services 3 - updating a custom field in a user account

I'm using Postman in Chrome to test my services. I'm sucessfully able to create user accounts using the following: Headers: Content-Type /application/x-www-form-urlencoded X-CSRF-Token ...
0
votes
0answers
18 views

Migrating Site from Drupal to Liferay [closed]

Is there an efficient way (i.e. scripting, scraping or RESTful Web Services) to transform eCommerce shopping cart site from Drupal to Liferay?
1
vote
1answer
12 views

Create commerce product through web services

I want to create products using commerce services resource module. At this moment, I can create a product calling the resource .../product with POST, but It seems that It only creates a product ...
1
vote
0answers
15 views

How to call Ubercart functionality using drupal 7 rest services?

I am using Drupal 7 with Services module for our phonegap application. In that web application we are using Ubercart module for payment gatway method. I am fetching product list from web service but ...
4
votes
1answer
63 views

Authenticated REST requests becoming anonymous user

I'm new to the services and rest_server modules (and RESTful APIs altogether.) As I understand it though, the steps are basically this: Send a post request to /api/user/login with the username and ...
0
votes
1answer
16 views

Drupal 7 Time out when trying to delete user using Services REST API

I am using Drupal 7 and the Services module to manage user. Logging in and creating users works just fine. However, when I try a delete request I either get this response: <b>Fatal ...
1
vote
1answer
27 views

What's wrong with my GET request? (Commerce Services, REST)

I'm developing a mobile app to connect with my Drupal Commerce (Kickstart) store, using a REST server. When I do GET: endpoint/rest/product it retrieves the products list <result ...
1
vote
0answers
15 views

Access denied or format unknown on field in Services Views

Installed the following modules in Drupal 7 Services Services Views When creating new services view, I am facing the following issue. nid and title fields shown correctly, but other fields ...
1
vote
1answer
22 views

Problem attaching files to nodes with Services

I'm trying to attach files (images) to nodes via Services 3 from an external app using JavaScript. From what I understand (and doing) is: 1) Create a node posting JSON to my endpoint ...
0
votes
1answer
28 views

Response comes after 6 min while creating user using services module of Drupal 7?

I have a client side application developed in angularJS. As i am sending POST request to Drupal to create user, user is getting created without any delay if i check in Backend. But i get response ...
0
votes
1answer
23 views

Drupal 7 Services module user register and login test

I am trying to register and login users via services module in a Drupal based site. Versions I am using: Services 7.0-3.11 Drupal 7.36 The endpoints for this service is shown in the below code. ...
0
votes
1answer
32 views

Can't create/update resources with Services module

I can't create/update nodes, taxonomy, users, etc., with Drupal Services. I can log in, retrieve system connection info and log out. Also, I can retrieve a node, user (all details), taxonomy term, ...
0
votes
0answers
16 views

Drupal Services returning 404 status code even though they're giving me the correct data

I'm using Drupal Services to get JSON for an Angular app. Everything works fine on my local (Mac OX 10.10, Apache/2.4.9), but I've just deployed to a DigitalOcean instance (Ubuntu 14.04, Apache/2.4.7) ...
0
votes
0answers
24 views

App mobile with social login and login via services

I have an app (cordova/phonega) and a Drupal 7 site. In Drupal 7 site I have "HybridAuth Social Login" that permit to my users to register and login with FB/G+/other social networks. Now I want to ...
1
vote
0answers
18 views

How to use API versioning with the Services module?

I'm using the Services module to produce a REST API. According to the official documentation, there is a way to version services resources. I believe version here means supplying a single API (e.g. ...
0
votes
0answers
5 views

services display for search index based view

I am building a search page using view. the view get results from search index created and have indexed nodes and it works fine and display results as expected the problem comes when trying to add ...
1
vote
0answers
27 views

Access site via services only

I am getting lots of spam in my website. Tried some modules : Honeypot Http BL No luck yet. Now decided to make the site for web services only. Web services are done with Services module. How ...
0
votes
1answer
12 views

Services 3: How can I get a list of the roles in a system, via the REST API?

Similar to How to Retrieve all Forums, how can I retrieve the list of roles in a system via the Services REST API? This is Drupal 7, Services 3.x. Are roles terms in a taxonomy vocabulary ?
0
votes
1answer
15 views

Services 3: how to create and delete a forum? via POST to taxonomy_term?

I'd like to be able to programmatically create and delete Forums on a Drupal 7 install, via the Services module. I want to send in HTTP requests and have those things happen. I know how to create a ...
0
votes
0answers
23 views

Rest services - login cookie

I'm using Drupal 7. When I POST request to remote site (services_endpoint/user/login) I am able to receive a session name and session id and all other information about user. After that when I open a ...
0
votes
1answer
38 views

Problem with session ID and Drupal cookies when trying to establish a connection with Service Module and http-post

I tried to established a connection between my app and Drupal services. When I try to login to remote Drupal site using Mozilla add-on Poster everything is working... POST request return OK 200 and ...
0
votes
1answer
15 views

Services 3: retrieve the list of posts for a particular forum

From this question, I know how to retrieve a list of forum posts (forum topics?) from drupal. curl -i -X GET \ -H Cookie:SESSe6a353351df0bcafe98787beef=B0YAHD3-reWwwW-kzhqw6A-SgeShSYUAAQQjh \ ...
0
votes
1answer
13 views

Services 3: how to retrieve all forums?

I'm trying to retrieve all Forums on a drupal7 site, using the Services module. I can get a list of all "forum topics" (which I think of as forum entries or forum posts) this way: curl -i -X GET \ ...
0
votes
1answer
24 views

Drupal 7, Services 3.x: how to create a Forum topic post? {error: :“An illegal choice has been detected. Please contact the site administrator.”}

I'd like to be able to create a topic on an existing forum, using the REST API exposed by the Services module. This is drupal7 and services 3.x . via the REST interface, I can successfully: query ...
0
votes
0answers
19 views

2 legged Oauth authentication returns “request must be signed”

I am using services module with rest server to make api request from external site(non drupal) for create, update and delete products. I am using OAuth 7.x-3.x-dev and 2-Legged OAuth Authentication ...
1
vote
1answer
25 views

Getting a list of nodes of a specific type (eg, forum) via REST API

I am using Drupal 7, with the Services module. I have the REST API enabled. I have successfully done a user.login, and have retrieved the session id and session name, and then constructed the Cookie ...
2
votes
1answer
21 views

Is there a D7/Services module for sane field content I/O?

For instance, a GET request to the standard endpoint node/1.json returns an object with fields like this: { ... "field_my_field":{ "und":[ { "value":"yucky" ...
0
votes
0answers
50 views

RESTful web services return 403 forbidden for uc_order_product

I'm using ubercart and RESTful web services module. When I query for node, uc_order, user, etc., it returns data correctly, but when I query for "uc_order_product" I always get 403 Forbidden. ...
1
vote
1answer
12 views

Drupal Services module language

I'm using the Services module together with a multilingual backend (field translation) My endpoint is v1. What I would like to have is: /v1/fr/... Is this possible without having a redirect? What is ...
1
vote
1answer
68 views

What is wrong in my XML structure to add nodes using a RESTFul web service POST?

I'm using RESTFul Web Services module with Drupal 7. I can log in with basic authentication, get CSRF-token, get nodes, and so on. The problem is with POST/PUT: I cannot get adding nodes to work. I ...
0
votes
0answers
62 views

Drupal, Service Module and REST: 404 Not found

I strictly followed this guide. The REST Server is activated. I try to access http://localhost/rest/user/token.json (the Drupal installation is at localhost) via the Firefox REST Easy Add-On. No ...
2
votes
0answers
35 views

Which access module should I use for teachers and students?

In my site I have teachers and students. The student can subscribe to max 3 courses. I created cTypes: Modules (which contains the actual information itself) and Course (which contains a ...
0
votes
0answers
28 views

post request via services using access token form oauth2 server

I have installed and configured oauth2_server module to be used as authetication server for services. I successfully get the access_token and refresh_token form /oauth2/token the request $user_data ...
0
votes
0answers
17 views

loggin user in code afer reset password via services

I have made custom resource to support password reset via services after I successfully changed the user password in code I need to delete all active sessions created in sessions table for that user ...
0
votes
0answers
26 views

Problem Drupal Service: Skip Session Authentication

I am using latest version(services-7.x-3.11) of service module, and when m trying to User/login services without X-CSRF-Token I can access the resource and obtain data login. I'm using Poster. ...
0
votes
1answer
47 views

save base64 images alogside entity creation via services

I need to save and edit entities via services like {user, nodes, products ...etc} the problem comes with images posted form mobile apps encoded base64. I saved the file and stored the object in ...
0
votes
1answer
61 views

Unable to login to services due to session cookies not being passed in

This has been driving me nuts for days. I have an html5 app which logs the user into drupal via services 3.11 but I am unable to connect. Using the Chrome Postman plugin I can connect as expected. ...
0
votes
1answer
25 views

How do I override a service endpoint provided by a module in a feature?

I am using the Services module and Drupalgap, which provides a service endpoint by default. I want to make changes to the available services on the drupalgap endpoint, and I manage configuration on ...
0
votes
1answer
32 views

Issue while adding arguments to the custom services

I am adding one argument to the custom service named "streamtype" as follows function CMODULE_services_resources() { $api = array( 'oidar' => array( 'operations' => array( ...
0
votes
0answers
15 views

commerce services module unable to load entitywraper for product

I am posting products via services but price field didn't save despite other fields saved successfully the error returned is The requested URL returned error: 500 Internal Server Error : An error ...
0
votes
0answers
36 views

services authentication with oauth2 server

I used services module to to provide an api and web service for native mobile applications using drupal as backend for the apps. I need to make the authentication be done for one time and get an ...
0
votes
0answers
30 views

CSRF Validation Failed On Creating Node

I am connecting Drupal Services to iPhone. On sucessful Login i am getting session id , session name,token . Then I want To create node . I am posting token value in X-CSRFToken and ...
1
vote
2answers
34 views

Requesting a new password via services

I need to request a new password via services. I used the URL: <endpoint>/user/password?args['name']=test2 but it returns Access denied for user anonymous It's supposed to be used by non ...
0
votes
1answer
15 views

Why I can't add commerce product via services?

I need to add product via services, but I have strange issue with a price field. The case is that all fields saved correctly except price field amount and it returns: The requested URL returned ...
0
votes
1answer
31 views

what is the url i should use to edit user account via services module

I need to edit user account data via services module I tried endpoint/user, endpoint/user/UID, endpoint/user/UID/edit, endpoint/user/update, endpoint/user/edit with args like in user_resources.inc ...