curl - Trouble querying the VersionOne query.v1 api -
i trying access versionone (enterprise edition) server's query.vi api. able query rest services , meta.v1, going /query.v1 gives "trouble executing url" error.
i using curl , browser access @ moment query apis.
e.g.
works:
curl -x -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 localhost/versionone/query.v1
gives trouble executing url error.
what going wrong here? how fix it?
i have no problems using curl
query.v1. if provided more problems executing url. http status code clue.
some potential problems:
- the query.v1 endpoint introduced in versionone 13.2, summer 2013. see error on release before that.
- if have selected windows integrated authentication on-premise installation of versionone, query.v1 may require ntlm authentication.
Comments
Post a Comment