Cookie using PUT method for a REST service
Hello! If you test in browser check console - are there any errors? Cookies are sent automatically. The easiest way to send cookies is to set them first:
1) uncheck in request parameters Header (for Cookie)
2) In JS in mapping to cookie you need to set cookie. You can do that with jquery plugin - jquery.cookie. So in mapping instead of code
codevar str = "visID=" + value;
alert("Cookie:" + str +" and str len:"+ str.length);
return str; /code
should be
code$.cookie("visID", value);/code
3) link up that plugin (create new JS asset and paste the code from https://raw.github.com/carhartl/jquer...)