AnsweredAssumed Answered

Setting a parameter WebScriptRequest

Question asked by aoulhent on Jul 11, 2016
Latest reply on Jul 12, 2016 by muralidharand
Hello,

In the source code below:
@Override
   protected void execute(WebScriptRequest request, Map<String, String> params, JSONObject resultat) throws Exception
   {
      String user = request.getParameter( PARAM_USER );   
                //Need to set the parameter here using instruction like request.setParameter(…)
      resultat.put(RESULTAT_JSON_PARAM, "OK");
   }

I need to set the request parameter in the webscript. Any idea on how to do it?

Thanks in advance.

Outcomes