Use ccRestClient on Article page?
Summary
Questions on how to use ccRestClient on an article page in OCCContent
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; -webkit-text-stroke: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; -webkit-text-stroke: #000000; min-height: 17.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; color: #333333; -webkit-text-stroke: #333333} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; color: #333333; -webkit-text-stroke: #333333; min-height: 17.0px} span.s1 {font-kerning: none} span.s2 {font-kerning: none; background-color: #ffffff} span.s3 {font-kerning: none; background-color: #fffefe}
I have a widget on an article page that basically makes api calls using jQuery
$.getJSON('/ccstoreui/v1/products?categoryId=' + categoryID, {}, function(data) { //code code code });