Basic JQuery for call to node.index using REST server
Hi Everyone,
I am looking for a really simple example of how to make a call to the node index action in the latest REST server.
This is what I have so far - but I am getting a 406 (Not Acceptable) returned. I assume this is because I am not passing the correct arguments - so the better question might be - how do I find the correct arguments/parameters to send to a services call?
$.ajax({
type: "POST",
dataType: 'json',
url: "http://localhost/api/node.json",
data: 'sessid=' + $('#sessid').val(),
success: function (msg) {
console.log("node.list:");
console.log(msg);
Services key authentication with Flash - how to store keys?
Hi,
I would like to hear about your opinion. I'm using Services 6.2, XML-RPC and key authentication. I'm calling it from an embedded Flash object. The communication works perfectly. My problem is with the api key and where to store it.
I need the api key in the Flash object when sending the XML-RPC request. I shouldn't hardcode the key in Actionscript, it should stay customizable. I think it's also not a good practice (moreover is a security hole) to provide the key as a flashvar.
download of presentation and code from a session on integrating flash and drupal at the adobe usergroup xl event
Hi guys,
yesterday I spoke on the dutch adobe usergroup XL event, an annual event in the netherlands for the adobe platform, on using drupal as a content management system for your flash, flex and air applications with the help of our opensource package. I've made all the presentation files available online.
Read moreLooking for DrupalCon Chicago co-speaker(s) on Services & API's
I'm looking for a co-speaker to submit a DrupalCon Chicago session on Services and Open API's. I want to take up the Open API part with three main topics:
* How to build an Open API with Services: modules used, write your own resource, authentication
* How to monetize your Open API
* How to promote your Open API
I'll be using a in production example which is currently in being tested and documented (more later).
I'm looking forward to find a co-speaker!
More info:
Read morePrefixo 760 - chamada de valor fixo para pagamento de serviços web
Na sequência da utilização intensiva que vimos cada vez mais a fazer do Drupal, gostaria de saber se alguém já usou ou usa alguma forma de interacção com o serviço de chamadas 760 para pagamentos de serviços web.
O serviço de repetição de anúncios e o serviço de contactos 24h ( http://blog.ocasiao.pt/2009/12/como-ver-os-contactos-durante-24-horas/ ) é um exemplo disso.
interchange data with flex/flash
we are a drupal developer and a flex/flash developer working ad-hoc on a mutual project, where data needs to be sent back and forth between drupal and a flash application.
requirements :
<
ul>
Services Questions and Opportunities
Hello,
I need a little advice and maybe some help.
Here are the requirements:
- I have a media encoding server that needs to send a video file to the Drupal server and create a node.
- I need to provide a sample request that is formatted to push file into Drupal and create a node.
This is going to be for a project released on DO that relies on the services module.
What do you think the issues will be with this?
What is the file struct that has to be provided in JSON format to fill out the field:
struct file (required)
An object representing a file
groovy xml-rpc + Services
I'm trying to do some node creation via groovy. Via the XML-RPC groovy module and the Drupal Services module, my groovy code looks like, and results in, this:
groovy:000> def server = new XMLRPCServerProxy("http://localhost/drupal/?q=services/xmlrpc")
ERROR groovy.net.xmlrpc.XMLRPCCallFailureException:
XML-RPC call Failure: fault string = "Empty response from server", fault code = 0
at java_lang_Runnable$run.call (Unknown Source)
'tis a little frustrating not being able to get past the first line of code, but haven't gotten much help from the intertubes.
Read moreWorking Example with Services 3.x User.Login and System.Connect
Has anybody a working user.login example with services 3.x and user.login?
I downloaded the latest repository from this git hub
http://github.com/randallknutson/services
and get the node creation for anonymous user working.
But i cant using the user login method oder system connect. I activate the session authentication , because i think oauth is more complex.
my urls are
i tried with Firefox REST Client Extension and php curl test example:
HTTP-METHOD: POST
url: http:///user/login <- yes the blank page comes!
Content-Type: application/json
What did heyrocker say about the servers in services 3
I was listening to the presentation by heyrocker. He said that there's a plan to update or re-write the REST server and move it into services core.
1) Can we expect the same thing for the amfphp server by the amfphp module, and other servers as well?
2) Does that mean we won't need to download each server individually and add it into the servers folder with the xmlrpc folder? because that would be awesome.
Read more