In Wso2 admin panel there is a policy import functionality found at
/carbon/entitlement/import-policy.jsp
. There you can upload a XACML policy file. The form then POSTS to /fileupload/entitlement-policy
.
I want this so that i can automate wso2 setup.I am trying to manually post to this endpoint but cant seem to make it
Is it possible to use this functionality programmatically? How can i use this endpoint to post my policy?