简体   繁体   中英

Testing Drools DRL with postman

Created a test Drools DRL and using postman to execute it. When I send the request I use content-type application/json. The rule execution work as I expected, but the return content-type is application/xml and not content-type application/json. Note: the response is json not xml. What do I need to do to correct it?

In postman once you get the response there will be a drop down with type of data. instead of xml choose json. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM