I am not able to invoke rest service using ajax call in .vm file ,we have attached code snippet along with the error received while making the ajax call.
we also referred below link, but the issue still persisted.
Thanks & Regards,
Amit J
Javascript does not belong in a velocity file. There are no good workarounds, some things work and some don't. If you are writing a plugin, why don't you just include a JS file??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.