Created
April 27, 2016 14:53
-
-
Save kbarber/c815baf17226af9ef0f3b4f79025bd96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -v -X GET http://localhost:8080/v4/nodes -d 'query=["~","certnamea","**"]' | |
* Trying ::1... | |
* Connected to localhost (::1) port 8080 (#0) | |
> GET /v4/nodes HTTP/1.1 | |
> Host: localhost:8080 | |
> User-Agent: curl/7.43.0 | |
> Accept: */* | |
> Content-Length: 28 | |
> Content-Type: application/x-www-form-urlencoded | |
> | |
* upload completely sent off: 28 out of 28 bytes | |
< HTTP/1.1 400 Bad Request | |
< Date: Wed, 27 Apr 2016 14:52:57 GMT | |
< Warning: v4 query API is experimental and may change without warning. For stability use the v3 api. | |
< Content-Length: 223 | |
< Server: Jetty(9.2.10.v20150310) | |
< | |
* Connection #0 to host localhost left intact | |
'certnamea' is not a queryable object for nodes, known queryable objects are ["certname","deactivated","facts-environment","report-environment","catalog-environment","facts-timestamp","report-timestamp","catalog-timestamp"]% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment