Details
-
Bug
-
Resolution: Answered
-
Medium
-
None
-
1.6.6
-
None
Description
Trying to run EyeQL queries through the REST API
I tried the query (changelog) that is in the sample code and it worked. I then substituted a number of other EyeQL queries from the EyeQL documentation, and got this error
java.io.IOException: Server returned HTTP response code: 400 for URL: http://jopesadmin:8060/api/rest/select revisions from dir /
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.pragmatics.fisheye.connector.FishEyeConnectorTest.testConnection(FishEyeConnectorTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
...
This leads me to believe that either the documentation is wrong/incomplete or that your REST implementation may be lacking the functionality to actually call an EyeQL query.
Thank you
Liz Sommers
sommerse@pragmatics.com