Forum Discussion
Tarun
5 years agoMaven
Hi Inactive User ,
you can try the following code in a component:
<@liaAddScript>
;(function($){
$.ajax({
type: "Get",
url: "/api/2.0/search?q=SELECT * FROM users",
success: function(data) {
console.log(data)
},
});
})(LITHIUM.jQuery);
</@liaAddScript>
Please Give Kudos if you find this post useful and also mark this as Accepted Solution if this is the required solution.
Regards
Tarun Kumar
Inactive User
5 years agoThanks, Tarun however, where would the label call go in that AJAX call? In the success part? What would the call look like? Sorry, Khoros makes this really difficult!