REST API "Command POST" Syntax


#1

http://<server>:[<port>]/command/<database>/<language>[/<command-text>[/limit[/<fetchPlan>]]]

how to I write it in URL? the parenthsis are confusing

if this right?

http://localhost:4000/command/plcclr-dev1/sql/select * from #1:11/0/*:-1
this is my code I get error,
{“errors”:[{“reason”:500,“code”:500,“content”:“java.lang.IllegalArgumentException: text cannot be null”}]}


#2

Hi,

what version are you using?

Thanks

Regards,
Michela


#3

hi, is this working or not?, any update? why is it incomplete


#4

Hi,

I tried with this example and it worked for me:

http://localhost:2480/command/demodb/sql/select * from 33:0


Hope it helps

Regards,
Michela