This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Is preparing a mock response in javascript is the efficient
approach?Actually, I have a scenario where I need to prepare a success
and error mock response based on the query param.Can anyone please
suggest which approach is more efficient?Approach 1....
I"m working in a scenario where I'm getting xml object from the
httpClient's getResponse().content. And I need to deal with values that
are present in the response. But its not allowing me to extract those
values in javascript. Note: I cannot use XML...
I"m working in a scenario where I'm getting xml object from the
httpClient's getResponse().content. And I need to deal with values that
are present in the response. But its not allowing me to extract those
values in javascript. Note: I cannot use XML...
Hi Dino, in my javascript asynchronous code is not working. I tried to
print data inside the callback function but didn't get any data in the
console and after callback function, every statement is getting
executed.
Hi Dino, thank you so much for your response, but I'm facing a problem
while using this javascript.I'm getting this error:Execution of
JS-PrepareCheckOutagesResponse failed with error: Javascript runtime
error: "ReferenceError: "require" is not defin...