Hi, I need a help for using Restful API
Here is question
http://[ip:port\/sdk?msg=query&id1=0&id2=0&size=400&query=select+*+where+service=25+&+time="2014-Mar-05"
Contents on red line might be wrong.
but I can't make the solution yet
If I write down like that, there is no error. However the result is totally same. like
http://[ip:port\/sdk?msg=query&id1=0&id2=0&size=400&query=select+*+where+service=25+&+time="2014-Mar-05"
= http://[ip:port\/sdk?msg=query&id1=0&id2=0&size=400&query=select+*+where+service=25
It seems like ignoring backyard command
Also If I want to set time range, how to make it?
query=select+*+where+time>"2014-Mar-05" <== it's wrong
A couple points:
- the logical "and" operator is double ampersands ("&&") not single ("&"),
- you may want to URL-escape the entire URL to avoid problems
To specify time ranges you have to provide the quoted starting and ending times separated by a dash:
select time where time='2013-7-1 00:00:00'-'2013-7-1 00:05:59'