You can do it as per function documentation 
<http://www.orientechnologies.com/docs/2.0/orientdb.wiki/OrientDB-REST.html#function>
 
but you have to *url encode* your serialized object.

In order to pass:
{"x":1,"y":2}

you have to send:
http://localhost:2480/function/testdb/testfn/%7B%22x%22%3A1%2C%22y%22%3A2%7D

On Saturday, 7 March 2015 13:21:34 UTC+1, Artem Nikiforov wrote:
>
> I want to pass json serialized object to stored function in call made via 
> REST interface.
> [How ]can it be done?
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to