ROQL result fetching as text instead of count(desired output)
Summary
Hi All, Our ROQL query is working fine in postman (testing tool) but we want to use this ROQL in BUI using javascript, where we are getting response as a string text instead of the desired output.Content
Also, in Postman 'Get' method, headers, authorization is provided manually.
For using 'Get' method in javascript, we have used Connect Rest API as follows -
function countROQL(restUrl, sessionID, fname, lname, contID, email, brand){console.log(restUrl + ' |-| ' + sessionID + ' |-| ' + fname +' |-| ' + lname + ' |-| ' + contID +' |-| ' + email + ' |-| ' + brand);var ajaxUrl = restUrl +
Tagged:
0