In rollbase-template where am I suppose to add http header codes and url in order to make a connectivity with the server.
Hello Kanav,
Could you please elaborate your query on what you are trying to achieve or what information you are looking for?
/Mani.
001
002 var publicKey = 'guest';
003 var privateKey = 'guest';
004 var siteAuth = publicKey + ":" + privateKey ;
005 var encodedSiteAuth = 'Z3Vlc3Q6Z3Vlc3Q=';
006 var url ="localhost:15672/.../publish";
007 var data = null;
008 var method = "POST";
009 var contentType = "application/json; charset=UTF-8";
010 var username = null;
011 var password = null;
012 var header = { "Authorization” : “Basic " + encodedSiteAuth };
013 var result = rbv_api.sendJSONRequest(url,data,method,contentType,username,password,headers);
014 rbv_api.println(result);
Error missing : after property id (line #13) in formula:
I'm trying to Integrate rollbase to rabbitmq. I'm using document template for it .
Hi Kanav,
Create an EVAL block and add a minified JavaScript code.
Example:
#EVAL[<<your javascript>>]
Thanks
Vasantha