title: How to retrieve the rest api complete response in vugen?
body: <p>I am trying to retrieve the complete json response in VUGEN. I am new to writing script in VUGEN. I am using web-HTTP/HTML protocol and just wrote a simple script to call a rest service with POST.</p>
  
  <p>Action()
  {</p>
  
  <pre><code>web_rest("POST: http://losthost:8181/DBConnector/restServices/cass...",
      "URL=http://losthost:8181/DBConnector/restServices/oep_catalog_v1",
      "Method=POST",
      "EncType=raw",
      "Snapshot=t868726.inf",
      HEADERS,
      "Name=filter", "Value=upc=123456789", ENDHEADER,
      "Name=env", "Value=qa", ENDHEADER,
      LAST);
  
  return 0;
  </code></pre>
  
  <p>}</p>
  
  <p>I don't know what to do next. I searched on the internet to get any command to pull response value. I got web_reg_save_param but it just pulls one value. I need the complete response saved in a file or string.</p>
  
  <p>Please help.</p>