Reputation: 60
I am trying to access my VersionOne (Enterprise Edition) server's query.vi api. I am able to query the rest services and meta.v1, but going to /query.v1 gives a "Trouble executing URL" error.
I am only using curl and browser access at the moment to query the APIs.
e.g.
Works:
curl -X GET -u user:pass <baseuri>/rest-1.v1/Data/Timebox
Error:
curl -X POST -u user:pass --header "Content-Type:application/json" -d @data.txt <baseuri>/query.v1
Where data.txt =
{
"from":"Timebox"
}
Also error, going to localhost/VersionOne/query.v1
is what gives trouble executing URL error.
What is going wrong here? How do I fix it?
Upvotes: 0
Views: 700
Reputation: 314
I have no problems using curl
with query.v1. It would help if you provided more about the problems executing the URL. The HTTP status code would be a good clue.
Some potential problems:
Upvotes: 1