Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.