> > My request is here below:- > > def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: > application/json" -d {"DeAppRulesList": > [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}' > > No error and no response received. >
Start simple, then expand. Also, I presume you should adjust the cmd, to be like, "curl . . . -X POST". Avoid using "-s" option during the initial trials. man curl is your best help. Remember, getting curl working from CLI and in an automated env like Jenkins involves several iterations, depending on the complexity (speaking from my personal experience). /Ram -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/40965178-7ef0-4f58-b8d1-9f1ea828108a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.