Hi, 
I'm new to Polymer, and want to build a form element that could post a request 
to a Rdf / Fuseki endpoint : http://rdf-smag0.rhcloud.com .

First, I just need a form with one input field : name .

The method must be "post".

The remote url where to post data is :
var endpoint = "http://rdf-smag0.rhcloud.com/ds/update";;

 and the data to post is something like : 

var update = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n";
update += "PREFIX rbb: <http://smag0.blogspot.fr/NS/RobotBase#> \n";
update += " INSERT DATA {";
update += " GRAPH <http://example/bookStore> { ";
update += " rbb:"+name+" rdf:type rbb:Robot .";


Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/7924a361-fc06-4793-bb16-b5a8dece0c48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to