[rules-users] Guvnor REST API - Add a drl file with several rules as one rule file

nkhogen nkhogen at gmail.com
Fri Aug 2 14:42:57 EDT 2013


Thank you learnbrms.  Below is the code snippet. I provided the slug header
as well. But, it does not make any difference.

String drl = "package .... import.... rule..blah blah";
WebClient webClient = WebClient.create(url);
webClient.header("Authorization", securityToken);
webClient =
webClient.path(basePackagePath).accept(MediaType.APPLICATION_ATOM_XML_TYPE).type(MediaType.APPLICATION_OCTET_STREAM_TYPE).header("Slug",
"myRule.drl");
		return webClient.post(drl);



--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-REST-API-Add-a-drl-file-with-several-rules-as-one-rule-file-tp4025274p4025283.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list