Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
在v5中引入,需要配置“ 常规设置”中的“API域白名单”设置以允许JSON API请求。如果请求来自非白名单域,则响应将是HTTP 400错误请求。
public void webService(javax.servlet.HttpServletRequest request,javax.servlet.HttpServletResponse response)throws javax.servlet.ServletException,java.io.IOException
类似于Servlet的工作。
http:
//localhost:8080/jw/web/json/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
http:
//localhost:8080/jw/web/json/app/crm/1/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
AppDefinition appDef = AppUtil.getCurrentAppDefinition();