yunkuotianxian opened a new issue, #4151: URL: https://github.com/apache/hop/issues/4151
### Apache Hop version? 2.9.0 ### Java version? 11 ### Operating system Windows ### What happened? How to call the interfaces of the following APIs? It's a get method, but how to pass XML into the method? On line 93 of the AddPipeServlet.doGet in the source code, the value of the StringBuilder XML is set to 'new StringBuilder' (request. getContentLength()) It will report an error because in the get method, request. getContentLength() may be -1. How should this API be called? ADDWORKFLOW name addWorkflow description Add a workflow for execution endPoint GET hop/addWorkflow Content-Type: text/xml;charset=UTF-8 parameters xml Request body should contain xml containing workflow_configuration (pipeline and workflow_execution_configuration wrapped in pipeline_configuration tag). example request http://localhost:8081/hop/addWorkflow/xml=Y with XML payload result - ### Issue Priority Priority: 3 ### Issue Component Component: Hop Server -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
