Hi all, I followed [1] to create a collection with below curl command. I'm using IS 5.1.0 with resource.war from greg.
*> curl -v -k -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Media-Type: application/atomcoll+xml" -H "Content-Type: application/x-www-form-urlencoded" -d '' https://localhost:9443/resource/1.0.0/artifact/_system/governance/permission/applications/TestSP/TestCol <https://localhost:9443/resource/1.0.0/artifact/_system/governance/permission/applications/TestSP/TestCol>* *< HTTP/1.1 201 Created< Cache-Control: private< Expires: Thu, 01 Jan 1970 05:30:00 IST< Date: Thu, 04 Aug 2016 12:23:43 GMT< Content-Type: application/json< Content-Length: 68< Server: WSO2 Carbon Server* But it always creates a resource instead of a collection. See below. What am I missing here? [image: Inline image 1] [1] https://docs.wso2.com/display/Governance500/Collection+with+REST+API#CollectionwithRESTAPI-AddaCollection Thanks, -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev