Created
August 18, 2015 18:01
-
-
Save pavolloffay/1d0d93398a52d69a35ac 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 -ivX POST -H 'Content-Type:application/json' -d '{"id": "foo" }' http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes | |
curl -ivX POST -H 'Content-Type:application/json' -d '{"id": "query" }' http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes | |
curl -X GET -H 'Content-Type:application/json' http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes/foo | |
curl -ivX POST -H 'Content-Type:application/json' -d '{"id":"parent", "resourceTypePath": "/rt;foo"}' http://jdoe:password@localhost:8080/hawkular/inventory/test/resources | |
curl -ivX POST -H 'Content-Type:application/json' -d '{"id":"parent_children", "resourceTypePath": "/rt;foo"}' 'http://jdoe:password@localhost:8080/hawkular/inventory/test/resources/parent' | |
curl -ivX POST -H 'Content-Type:application/json' -d '{"id":"parent_children2", "resourceTypePath": "/rt;query"}' 'http://jdoe:password@localhost:8080/hawkular/inventory/test/resources/parent' | |
curl -ivX POST -H 'Content-Type:application/json' -d '{"id":"parent_children_children", "resourceTypePath": "/rt;foo"}' 'http://jdoe:password@localhost:8080/hawkular/inventory/test/resources/parent/parent_children' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment